Census CensusResponse.php - jcobban/Genealogy GitHub Wiki

Up: Census Implementation

Source Code

This script displays a summary of a selected set of rows from any census in tabular form.

Parameters (passed by method=get):

Name Description
Census 2 character country code plus 4 digit year, or 'CAALL'
Province 2 letter province code (CE, CW, NS, NB, or PI) for pre-confederation census
District district (County or Electoral District) number
SubDistrict subdistrict (Township) identifier within district
Division optional division number within subdistrict
Page limit responses to within specific page number
Family limit responses to specific family
Limit limit number of rows to display at a time
Offset starting row within result set
BYear if present limit response by birth year
Range if present the range on either side of birth year
Surname if present pattern match for surnames. If a simple surname a match based upon the pattern associated with the surname. If it starts with a caret '^' and ends with a dollar sign '$' then an exact match for the name between the delimiters. If it starts with a caret and does not end with a dollar sign then a match for surnames beginning with the remainder of the value.
SurnameSoundex if present match surnames by soundex code
GivenNames if present match given names by pattern. This may be multiple names in which case records which loosely match any of the names are included.
Occupation if present match occupation by pattern
BPlace if present match birth place by pattern
Origin if present match origin by pattern
Nationality if present match nationality by pattern
Religion if present match religion by pattern

Example of Census Response Display

Next: CensusUpdate.js