1*f71a4582Smanf0001<?php 2*f71a4582Smanf0001 3*f71a4582Smanf0001/** 4*f71a4582Smanf0001 * webtrees: online genealogy 5*f71a4582Smanf0001 * Copyright (C) 2023 webtrees development team 6*f71a4582Smanf0001 * This program is free software: you can redistribute it and/or modify 7*f71a4582Smanf0001 * it under the terms of the GNU General Public License as published by 8*f71a4582Smanf0001 * the Free Software Foundation, either version 3 of the License, or 9*f71a4582Smanf0001 * (at your option) any later version. 10*f71a4582Smanf0001 * This program is distributed in the hope that it will be useful, 11*f71a4582Smanf0001 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12*f71a4582Smanf0001 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*f71a4582Smanf0001 * GNU General Public License for more details. 14*f71a4582Smanf0001 * You should have received a copy of the GNU General Public License 15*f71a4582Smanf0001 * along with this program. If not, see <https://www.gnu.org/licenses/>. 16*f71a4582Smanf0001 */ 17*f71a4582Smanf0001 18*f71a4582Smanf0001declare(strict_types=1); 19*f71a4582Smanf0001 20*f71a4582Smanf0001namespace Fisharebest\Webtrees\Census; 21*f71a4582Smanf0001 22*f71a4582Smanf0001/** 23*f71a4582Smanf0001 * Definitions for a census 24*f71a4582Smanf0001 */ 25*f71a4582Smanf0001class CensusOfCanada1931 extends CensusOfCanada implements CensusInterface 26*f71a4582Smanf0001{ 27*f71a4582Smanf0001 /** 28*f71a4582Smanf0001 * When did this census occur. 29*f71a4582Smanf0001 * 30*f71a4582Smanf0001* @return string 31*f71a4582Smanf0001 */ 32*f71a4582Smanf0001 public function censusDate(): string 33*f71a4582Smanf0001 { 34*f71a4582Smanf0001 return '01 JUN 1931'; 35*f71a4582Smanf0001 } 36*f71a4582Smanf0001 37*f71a4582Smanf0001 /** 38*f71a4582Smanf0001 * The columns of the census. 39*f71a4582Smanf0001 * 40*f71a4582Smanf0001 * @return array<CensusColumnInterface> 41*f71a4582Smanf0001 */ 42*f71a4582Smanf0001 public function columns(): array 43*f71a4582Smanf0001 { 44*f71a4582Smanf0001 return [ 45*f71a4582Smanf0001 new CensusColumnFullName($this, 'Name', 'Name of each person in family, household or institution'), 46*f71a4582Smanf0001 new CensusColumnNull($this, 'Place of Abode', 'In rural localities give parish or township. In cities, towns and villages, give street and number of dwelling'), 47*f71a4582Smanf0001 new CensusColumnNull($this, 'Own/Rent', 'Home owned or rented'), 48*f71a4582Smanf0001 new CensusColumnNull($this, 'Value', 'If Owned give value. If rented, give rent paid per month'), 49*f71a4582Smanf0001 new CensusColumnNull($this, 'Class', 'Class of House: Apartment, Row or Terrace, Single house, Semi-Detached, Flat'), 50*f71a4582Smanf0001 new CensusColumnNull($this, 'Materials', 'Material of Construction: Stone, Brick, Wood, Brick Veneered, Stucco, Cement bricks'), 51*f71a4582Smanf0001 new CensusColumnNull($this, 'Rooms', 'Rooms occupied by this family'), 52*f71a4582Smanf0001 new CensusColumnNull($this, 'Radio', 'Has this family a radio?'), 53*f71a4582Smanf0001 new CensusColumnRelationToHeadEnglish($this, 'Relation', 'Relationship to Head of Family or household'), 54*f71a4582Smanf0001 new CensusColumnSexMF($this, 'Sex', 'Sex'), 55*f71a4582Smanf0001 new CensusColumnConditionCanada($this, 'S/M/W/D', 'Single, Married, Widowed, Divorced'), 56*f71a4582Smanf0001 new CensusColumnAge($this, 'Age', 'Age at last birthday'), 57*f71a4582Smanf0001 new CensusColumnBirthPlaceSimple($this, 'Birth Loc', 'Place of birth of person'), 58*f71a4582Smanf0001 new CensusColumnFatherBirthPlaceSimple($this, 'FBP', 'Place of birth of father'), 59*f71a4582Smanf0001 new CensusColumnMotherBirthPlaceSimple($this, 'MBP', 'Place of birth of mother'), 60*f71a4582Smanf0001 new CensusColumnNull($this, 'Yr. immigrated', 'Year of immigration to Canada'), 61*f71a4582Smanf0001 new CensusColumnNull($this, 'Yr. naturalized', 'Year of naturalization'), 62*f71a4582Smanf0001 new CensusColumnNationality($this, 'Nationality', 'Country to which this person owes allegiance'), 63*f71a4582Smanf0001 new CensusColumnNull($this, 'Origin', 'Racial origin'), 64*f71a4582Smanf0001 new CensusColumnNull($this, 'English', 'Can speak English'), 65*f71a4582Smanf0001 new CensusColumnNull($this, 'French', 'Can speak French'), 66*f71a4582Smanf0001 new CensusColumnNull($this, 'Language', 'Language other than English or French spoken as mother tongue'), 67*f71a4582Smanf0001 new CensusColumnNull($this, 'Religion', 'Religious body, Denomination or Community to which this person adheres or belongs'), 68*f71a4582Smanf0001 new CensusColumnNull($this, 'Read/Write', 'Can read and write'), 69*f71a4582Smanf0001 new CensusColumnNull($this, 'Ms school', 'Months at school since Sept. 1, 1930'), 70*f71a4582Smanf0001 new CensusColumnOccupation($this, 'Occupation', 'Trade, profession or particular kind of work, as carpenter, weaver, sawyer, merchant, farmer,salesman, teacher, etc. (Give as definite and precise information as possible)'), 71*f71a4582Smanf0001 new CensusColumnNull($this, 'Industry', 'Industry or business in which engaged or employed as cotton mill, brass foundry, grocery, coal mine, dairy farm, public school, business college, etc'), 72*f71a4582Smanf0001 new CensusColumnNull($this, 'Class', 'Class of worker'), 73*f71a4582Smanf0001 new CensusColumnNull($this, 'Earnings', 'Total earnings in the past twelve months (Since June 1st, 1930)'), 74*f71a4582Smanf0001 new CensusColumnNull($this, 'Employed', 'If an employee, where you at work Monday June 1st, 1930'), 75*f71a4582Smanf0001 new CensusColumnNull($this, 'WHY', 'If answer to previous question is NO. Why were you not at work on Monday, June 1st, 1931. (For Example, no job, sick, accident, on holidays, strike or lock-out, plant closed, no materials, etc)'), 76*f71a4582Smanf0001 new CensusColumnNull($this, 'Weeks unemployed', 'Total number of weeks unemployed from any cause in the last 12 months'), 77*f71a4582Smanf0001 new CensusColumnNull($this, 'No Job', 'Of the total numer of weeks reported out of work, how many were due to-'), 78*f71a4582Smanf0001 new CensusColumnNull($this, 'Illness', 'Of the total numer of weeks reported out of work, how many were due to-'), 79*f71a4582Smanf0001 new CensusColumnNull($this, 'Accident', 'Of the total numer of weeks reported out of work, how many were due to-'), 80*f71a4582Smanf0001 new CensusColumnNull($this, 'Strike or Lock-out', 'Of the total numer of weeks reported out of work, how many were due to-'), 81*f71a4582Smanf0001 new CensusColumnNull($this, 'Temporary Lay-off', 'Of the total numer of weeks reported out of work, how many were due to-'), 82*f71a4582Smanf0001 new CensusColumnNull($this, 'Other Causes', 'Of the total numer of weeks reported out of work, how many were due to-'), 83*f71a4582Smanf0001 ]; 84*f71a4582Smanf0001 } 85*f71a4582Smanf0001} 86