Skip to content

class SubDistrict

James Cobban edited this page Feb 25, 2021 · 10 revisions

class SubDistrict

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 SubDistricts table (SubDistricts). Each entry in this table contains the description of an enumeration division in a Census of Canada.

Fields

This record presents the following fields:

name description synonyms
'sd_census' census identifier. This is the unique identifier of the associated instance of class Census. 'census', 'censusid'
'sd_distid' district identifier. This is usually an integer but by mistake some districts were skipped in the initial planning for the census and are represented as integer plus .5. See class District 'distid', 'dist'. 'district'
'sd_id' sub-district identifier 'id', 'sdid', 'subdist', 'subdisti', 'subdistid'
'sd_div' division identifier. This is usually a decimal number. 'div', 'division'
'sd_sched' schedule identifier 'sched', 'schedule'
'sd_name' name of the enumeration division. This is usually the same for all divisions within a SubDistrict and is the name of the township, town, village, or city ward. 'name'
'sd_pages' number of pages in the enumeration division 'pages'
'sd_page1' first page number in enumeration division. Note that there is a special case. If this is 0 and sd_bypage is 2 this indicates that the original division is incorrectly numbered with page 1 followed by page 2 and even numbered pages from there on. 'page1'
'sd_population' population 'population'
'sd_lacreel' LAC reel number 'lacreel'
'sd_ldsreel' LDS reel number 'ldsreel'
'sd_imagebase' image base 'imagebase'
'sd_relframe' relative frame 'relframe'
'sd_framect' frame count 'framect'
'sd_bypage' page increment 'bypage'
'sd_remarks' remarks 'remarks'
'd_name' name of the District in English copied from the associated instance of District.
'd_nom' name of the District in French copied from the associated instance of District.
'd_province' province code copied from the associated instance of District.

The last three fields are obtained from the associated instance of class District.

Table of Contents

Next: new SubDistrict($parms)

Clone this wiki locally