census_search: Search census records at the Norway Digital Archives

Description Usage Arguments Value Note Author(s) Examples

View source: R/census_search.R

Description

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

Usage

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, ...)

Arguments

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 trim_parish passed to census_table

Value

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)

Note

Municipal codes in codemunicipal.

Author(s)

Chris Stubben

Examples

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)

cstubben/norwayr documentation built on May 14, 2019, 12:25 p.m.