16de2fb6bSKirk Gartside<?php 26de2fb6bSKirk Gartside 36de2fb6bSKirk Gartside/** 46de2fb6bSKirk Gartside * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 66de2fb6bSKirk Gartside * This program is free software: you can redistribute it and/or modify 76de2fb6bSKirk Gartside * it under the terms of the GNU General Public License as published by 86de2fb6bSKirk Gartside * the Free Software Foundation, either version 3 of the License, or 96de2fb6bSKirk Gartside * (at your option) any later version. 106de2fb6bSKirk Gartside * This program is distributed in the hope that it will be useful, 116de2fb6bSKirk Gartside * but WITHOUT ANY WARRANTY; without even the implied warranty of 126de2fb6bSKirk Gartside * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 136de2fb6bSKirk Gartside * GNU General Public License for more details. 146de2fb6bSKirk Gartside * You should have received a copy of the GNU General Public License 156de2fb6bSKirk Gartside * along with this program. If not, see <https://www.gnu.org/licenses/>. 166de2fb6bSKirk Gartside */ 176de2fb6bSKirk Gartside 186de2fb6bSKirk Gartsidedeclare(strict_types=1); 196de2fb6bSKirk Gartside 206de2fb6bSKirk Gartsidenamespace Fisharebest\Webtrees\Census; 216de2fb6bSKirk Gartside 226de2fb6bSKirk Gartside/** 236de2fb6bSKirk Gartside * Definitions for a census 246de2fb6bSKirk Gartside */ 256de2fb6bSKirk Gartsideclass CensusOfRhodeIsland1905 extends CensusOfRhodeIsland implements CensusInterface 266de2fb6bSKirk Gartside{ 276de2fb6bSKirk Gartside /** 286de2fb6bSKirk Gartside * When did this census occur. 296de2fb6bSKirk Gartside * 306de2fb6bSKirk Gartside * @return string 316de2fb6bSKirk Gartside */ 326de2fb6bSKirk Gartside public function censusDate(): string 336de2fb6bSKirk Gartside { 346de2fb6bSKirk Gartside return 'JUN 1905'; 356de2fb6bSKirk Gartside } 366de2fb6bSKirk Gartside 376de2fb6bSKirk Gartside /** 386de2fb6bSKirk Gartside * The columns of the census. 396de2fb6bSKirk Gartside * 406de2fb6bSKirk Gartside * @return array<CensusColumnInterface> 416de2fb6bSKirk Gartside */ 426de2fb6bSKirk Gartside public function columns(): array 436de2fb6bSKirk Gartside { 446de2fb6bSKirk Gartside return [ 456de2fb6bSKirk Gartside new CensusColumnSexMF($this, 'Sex', 'Sex'), 466de2fb6bSKirk Gartside new CensusColumnNull($this, 'Num', 'Number of people in the family'), 476de2fb6bSKirk Gartside new CensusColumnSurnameGivenNameInitial($this, 'Name', 'Name'), 486de2fb6bSKirk Gartside new CensusColumnRelationToHeadEnglish($this, 'Relation', 'Relationship to head of household'), 496de2fb6bSKirk Gartside new CensusColumnNull($this, 'Race', 'Color or race'), 506de2fb6bSKirk Gartside new CensusColumnAge($this, 'Age', 'Age at last birthday'), 516de2fb6bSKirk Gartside new CensusColumnConditionUs($this, 'Cond', 'Congugal Condition'), 526de2fb6bSKirk Gartside new CensusColumnBirthYear($this, 'Year', 'Year of Birth'), 536de2fb6bSKirk Gartside new CensusColumnBirthMonthDay($this, 'Month Day', 'Month Day'), 546de2fb6bSKirk Gartside new CensusColumnBirthPlaceSimple($this, 'BP', 'Place of birth'), 556de2fb6bSKirk Gartside new CensusColumnNull($this, 'N/F', 'Native or Foreign Born'), 566de2fb6bSKirk Gartside new CensusColumnNull($this, 'R', 'Read'), 576de2fb6bSKirk Gartside new CensusColumnNull($this, 'W', 'Write'), 586de2fb6bSKirk Gartside new CensusColumnNull($this, 'Imm', 'Year of immigration to the United States'), 596de2fb6bSKirk Gartside new CensusColumnNull($this, 'US yrs', 'Years in US'), 606de2fb6bSKirk Gartside new CensusColumnNull($this, 'RI yrs', 'Years resident of Rhode Island'), 616de2fb6bSKirk Gartside new CensusColumnNull($this, 'Town mnths', 'Months in current year as a Rhode Island resident'), 626de2fb6bSKirk Gartside new CensusColumnFatherBirthPlaceSimple($this, 'FBP', 'Place of birth of father of this person'), 636de2fb6bSKirk Gartside new CensusColumnMotherBirthPlaceSimple($this, 'MBP', 'Place of birth of mother of this person'), 646de2fb6bSKirk Gartside new CensusColumnOccupation($this, 'Occupation', 'Occupation'), 656de2fb6bSKirk Gartside new CensusColumnNull($this, 'Unemp', 'Months unemployed during Census Year'), 666de2fb6bSKirk Gartside new CensusColumnNull($this, 'Pen', 'Did you receive a pension'), 676de2fb6bSKirk Gartside new CensusColumnReligion($this, 'Rel', 'Religious preference'), 686de2fb6bSKirk Gartside new CensusColumnNull($this, 'Mil', 'Military or widow of military'), 696de2fb6bSKirk Gartside new CensusColumnNull($this, 'Nat', 'Naturalization information'), 706de2fb6bSKirk Gartside new CensusColumnNull($this, 'Vtr', 'Voter information'), 716de2fb6bSKirk Gartside new CensusColumnChildrenBornAlive($this, 'Chil born', 'Mother of how many children'), 726de2fb6bSKirk Gartside new CensusColumnChildrenLiving($this, 'Chil liv', 'Number of these children living on June 1 1905'), 736de2fb6bSKirk Gartside ]; 746de2fb6bSKirk Gartside } 756de2fb6bSKirk Gartside} 76