Menu

#420 Report of missing CENS records

open
None
5
2007-09-07
2007-09-07
Greg Roach
No

The attached file nocensus.php will search for individuals in your gedcom that are missing one or more census records.

Put the file in your PGV directory, and run it by typing "nocensus.php" at the end of the URL in your web browser.

It knows about all the UK censuses; others can be added easily if you know the date/place.

To illustrate how it works, consider the England census of 2 April 1871. For each individual, it searches for the events either side of 2 April 1871. If either of these was in England (e.g. a birth in England in 1860 or a marriage in England 1877), it reports this census as missing.

This way it avoids reporting missing England censuses for individuals that were born/died in, say, Scotland.

It assumes a maximum age of 100 years, so someone born in 1750 without a death record may have a missing 1841 census but not a missing 1851 or later census.

Finally, it works on exact dates. If you've recorded a census as "1871" or "APR 1871", you will be told that you're missing a census fof "02 APR 1871". You should have entered the full details intially :-)

Discussion

  • Greg Roach

    Greg Roach - 2007-09-07

    Report of missing UK CENS records

     
  • Greg Roach

    Greg Roach - 2007-09-07
    • assigned_to: nobody --> fisharebest
     
  • Greg Roach

    Greg Roach - 2007-09-08

    Add code for max(age)<100 years

     
  • Greg Roach

    Greg Roach - 2007-09-08

    Logged In: YES
    user_id=1466942
    Originator: YES

    File Added: nocensus.php

     
  • Wes Groleau

    Wes Groleau - 2007-09-08

    Logged In: YES
    user_id=1537714
    Originator: NO

    This is pretty cool. I would suggest figuring out a reasonably simple data file structure to use instead of hard-coding the search. Then admins could update the data file(s) to add other censuses and maybe even other types of records. Would be a useful item for a research assistant menu.

     
  • Greg Roach

    Greg Roach - 2007-09-08

    Logged In: YES
    user_id=1466942
    Originator: YES

    My original version of this script actually searched the sources for a structure like this:

    0@Sxxx@ SOUR
    1 DATA
    2 EVEN CENS
    3 DATE 06 JUN 1841
    3 PLAC England

    This is the gedcom standard, but PGV has problems with the "1 DATA" field, so it was easier to rewrite it with a hardcoded list than explain to people how to edit raw gedcom records....

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.