Description Usage Arguments Value Note Author(s) Examples
View source: R/census_search.R
Formats the Search for Persons in the 1801 census at https://digitalarkivet.arkivverket.no/en-gb/ft/sok/1801. Change the year to 1865, 1875, 1900, or 1910 to search other censuses
1 2 3 4 5 | census_search(year, municipal = NULL, county = NULL, region = NULL,
first_name = NULL, last_name = NULL, gender = NULL,
family_position = NULL, marital_status = NULL, occupation = NULL,
date_of_birth = NULL, age = NULL, notes = NULL, residence = NULL,
district = NULL, house = NULL, all = FALSE, ...)
|
year |
Census year, 1801, 1865, 1875, 1900, or 1910 (other years are partial censuses) |
municipal |
Municipal code, one or more codes like 1638 for Orkdal or c(1638, 1636) for Orkdal and Meldal |
county |
County code, first two letters of municipal code for all parishes in county |
region |
Region code, 1 to 5 for ... |
first_name |
First name |
last_name |
Last name or patronym |
gender |
Gender, m or f |
family_position |
Family position |
marital_status |
Marital status |
occupation |
Occupation or job |
date_of_birth |
Date of birth in yyyy-mm-dd format, use 175* for anyone born in the 1750s |
age |
estimated Age at census |
notes |
Notes |
residence |
Residence or domicile |
district |
Census district |
house |
House number |
all |
Default search gets first page with 50 records, set all=TRUE to download all results |
... |
Other options like |
A data.frame with name, residence, gender, birth_date, status, first_name, patronymic, last_name. The last three columns are parsed from name in the html file (first is before a string of tabs, patronym is right after the tabs or last is after tabs AND a space)
Municipal codes in codemunicipal.
Chris Stubben
1 2 3 4 5 6 7 | ## Not run:
# set all=TRUE to get all 68 Siverts in Orkdal, default is first page only
census_search(1801, 1638, first="Siv*", all=TRUE)
# search in Meldal and Orkdal. Set trim_parish=FALSE to keep parish in residence
census_search(1801, municipal=c(1636, 1638), first="Lars", last="Siv*", trim_parish=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.