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