advanced_search: Advanced search in the Norway Digital Archives

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Formats the Advanced Person Search page at https://www.digitalarkivet.no/en/search/persons/advanced

Usage

1
2
3
4
5
advanced_search(municipals = NULL, county = NULL, region = NULL,
  event = NULL, birth = NULL, period = NULL, firstname = NULL,
  lastname = NULL, gender = NULL, role = NULL, date_event = NULL,
  date_birth = NULL, place_birth = NULL, domicile = NULL,
  position = NULL, disable_name_variants = TRUE, all = FALSE)

Arguments

municipals

a vector of municipal codes or names (and municipal dataset used to lookup codes)

county

a vector county codes, from the first two digits of the municipal code

region

a vector of regions, 01=

event

Event date in yyyy-mm-dd format, split into yyyy and mm-dd fields in url

birth

Birth date in yyyy-mm-dd format

gender

Gender, m or f

role

Role like barn, far, mor, fadder, brudgom, brur

domicile

Domicile, residence or farm name

all

Default search gets first page with 50 records, set all=TRUE to download all results

first

First name

last

Last name

place

Place of birth

family

Family position, marital status or occupation

county

County code

Value

A data.frame with ame, residence, year, type, role, event, birth, place, family position, source, url

Note

Municipal codes in codemunicipal. Use wildcard searches * since most names and places have alternate spellings like Michel or Mikkel, Larsen or Larssen, etc

Author(s)

Chris Stubben

See Also

get_records to loop through search results and get indvidual records

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
  # search for Sivert Larsen Stubben
  advanced_search(1638, first="Siv*", last="Lars*", residence="Stub*")
  # Siverts in 1799
  advanced_search(1638, first="Siv*", event=1799)
  advanced_search(1638, event="1776-07-04")
  # Mikkel or Michel Stubben (but not Mildri or Mimi)
  advanced_search(1638, first="Mi*", residence="Stub*", gender="m")

## End(Not run)

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