xref: /webtrees/app/Census/CensusOfUnitedStates1800.php (revision 3e615db9a880f815ae2d87be1487028595c22f43)
181d1be7aSGreg Roach<?php
281d1be7aSGreg Roach/**
381d1be7aSGreg Roach * webtrees: online genealogy
481d1be7aSGreg Roach * Copyright (C) 2015 webtrees development team
581d1be7aSGreg Roach * This program is free software: you can redistribute it and/or modify
681d1be7aSGreg Roach * it under the terms of the GNU General Public License as published by
781d1be7aSGreg Roach * the Free Software Foundation, either version 3 of the License, or
881d1be7aSGreg Roach * (at your option) any later version.
981d1be7aSGreg Roach * This program is distributed in the hope that it will be useful,
1081d1be7aSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1181d1be7aSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1281d1be7aSGreg Roach * GNU General Public License for more details.
1381d1be7aSGreg Roach * You should have received a copy of the GNU General Public License
1481d1be7aSGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
1581d1be7aSGreg Roach */
1681d1be7aSGreg Roachnamespace Fisharebest\Webtrees\Census;
1781d1be7aSGreg Roach
1881d1be7aSGreg Roach/**
1981d1be7aSGreg Roach * Definitions for a census
2081d1be7aSGreg Roach */
2181d1be7aSGreg Roachclass CensusOfUnitedStates1800 extends CensusOfUnitedStates implements CensusInterface {
2281d1be7aSGreg Roach	/**
2381d1be7aSGreg Roach	 * When did this census occur.
2481d1be7aSGreg Roach	 *
2581d1be7aSGreg Roach	 * @return string
2681d1be7aSGreg Roach	 */
2781d1be7aSGreg Roach	public function censusDate() {
2881d1be7aSGreg Roach		return '04 AUG 1800';
2981d1be7aSGreg Roach	}
3081d1be7aSGreg Roach
3181d1be7aSGreg Roach	/**
3281d1be7aSGreg Roach	 * The columns of the census.
3381d1be7aSGreg Roach	 *
3481d1be7aSGreg Roach	 * @return CensusColumnInterface[]
3581d1be7aSGreg Roach	 */
3681d1be7aSGreg Roach	public function columns() {
3781d1be7aSGreg Roach		return array(
38*3e615db9SGreg Roach			new CensusColumnFullName($this, 'Name', 'Name of head of family'),
39*3e615db9SGreg Roach			new CensusColumnNull($this, 'M0-10', 'Free white males 0-10 years'),
40*3e615db9SGreg Roach			new CensusColumnNull($this, 'M10-16', 'Free white males 10-16 years'),
41*3e615db9SGreg Roach			new CensusColumnNull($this, 'M16-26', 'Free white males 16-26 years'),
42*3e615db9SGreg Roach			new CensusColumnNull($this, 'M26-45', 'Free white males 26-45 years'),
43*3e615db9SGreg Roach			new CensusColumnNull($this, 'M45+', 'Free white males 45+ years'),
44*3e615db9SGreg Roach			new CensusColumnNull($this, 'F0-10', 'Free white females 0-10 years'),
45*3e615db9SGreg Roach			new CensusColumnNull($this, 'F10-16', 'Free white females 10-16 years'),
46*3e615db9SGreg Roach			new CensusColumnNull($this, 'F16-26', 'Free white females 16-26 years'),
47*3e615db9SGreg Roach			new CensusColumnNull($this, 'F26-45', 'Free white females 26-45 years'),
48*3e615db9SGreg Roach			new CensusColumnNull($this, 'F45+', 'Free white females 45+ years'),
49*3e615db9SGreg Roach			new CensusColumnNull($this, 'Free', 'All other free persons, except Indians not taxed'),
5081d1be7aSGreg Roach			new CensusColumnNull($this, 'Slaves', 'Number of slaves'),
5181d1be7aSGreg Roach			new CensusColumnNull($this, 'Total', 'Total number of individuals'),
5281d1be7aSGreg Roach
5381d1be7aSGreg Roach		);
5481d1be7aSGreg Roach	}
5581d1be7aSGreg Roach}
56