Skip to content

class District

James Cobban edited this page Nov 29, 2019 · 6 revisions

class District

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 Districts table (Districts). Each entry in this table contains the description of a District in a Census, which in Canada, post-Confederation, is a federal electoral district.

Fields

This record presents the following fields:

name description synonyms
'd_census' census identifier 'census','censusid'
'd_id' numeric identifier 'id','distid','district'
'd_name' district name 'name'
'd_nom' nom de la district 'nom'
'd_province' province code 'province','prov','provcode'
'd_population' population of district 'population'
'd_transcribed' number of lines transcribed 'transcribed'
'd_sdcount' count of sub-districts 'sdcount'
'd_fcount' count of image frames 'fcount'

The last two fields are filled in by the constructor from information in the SubDistricts table.

Table of Contents

Next: new District($parms)

Clone this wiki locally