Skip to content

Census CensusDetails.php

James Cobban edited this page Dec 1, 2020 · 4 revisions

Up: Census Implementation

Source Code

This script displays every field from a row of any census in tabular form.

Parameters (passed by method=get):

Name Description
Census 2 character country code plus 4 digit year
Province 2 letter province code (CE, CW, NS, NB, or PI) for pre-confederation census
State 2 letter state code within the USA. Identifies this as a state-specific census.
Domain 2 letter country code plus a 2 or 3 letter state or province code.
District district (County or Electoral District) number
SubDistrict subdistrict (Township) identifier within district
Division optional division number within subdistrict
Page page number
Line line number within the page

The parameter values should be such as to only return a single line from the census database.

Example of Census Details Display

Next: CensusForm.js

Clone this wiki locally