class Census - jcobban/Genealogy GitHub Wiki

class Census

Up: Object-Oriented Access to Database Records

Source Code

This class is derived from Record to implement the logical interface to a record in the Census Administration table (Censuses). Each entry in this table contains the description of a Census enumeration.

Fields

This record presents the following fields:

name description synonyms
'censusid' the unique string identifier of the census. The last 4 characters are the official enumeration year and the prefix is usually the ISO country code, see class Country, or the domain id, see class Domain , for the census. 'id' or 'code'
'name' A descriptive name of the census. For example “1881 Census of Canada”.
'countrycode' The ISO country code of the country where the census was collected. This is available even for censuses of individual states within the country. 'cc' or 'country'
'province' A 2-character abbreviation for the state or province for censuses of individual states or provinces. This is null for national censuses. 'state'
'year' Official year of the enumeration. For example the 1851 census of Canada West was delayed by a year until 1852 so that it could be organized based upon the counties that only started to function in 1852.
'linesperpage' The number of individuals (or families) normally recorded on each enumeration form for the population census.
'collective' This is true if this record describes a conceptual census which is comprised of a number of independently administered censuses. For example the 1851 British Imperial Census is comprised of the individual censuses of each of the colonies.
'partof' This contains the country code for the case where the first 2 characters of the census id are not the country code.
'provinces' This is a string consisting of the concatenation of the 2-character abbreviations of the states, provinces, or territories that are included in the census. 'states'
'enumMonth' The number of the month during which the census enumeration began. For example 4 for April, 6 for June.
'grouplines' To assist reading and updating each census page, a thicker border is displayed after each “grouplines” lines. If the original data entry forms had such thicker borders, this entry should reflect that.
'lastunderline' Occasionally the administrators of a census foolishly chose a value for “grouplines” that was not divisible into “linesperpage”. If that is the case (e.g. 1901 Census of Canada) then this value specifies the last line that has a thicker border beneath it.
'idsr' This is the unique numeric key of the Source record which is used for citations to this census. See class Source.
'table' This is the name of the database table containing transcriptions of this census.

These records are maintained by the Census Administration Page.

Table of Contents

Next: new Census($parms)