Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/advanced_search.R
Formats the Advanced Person Search page at https://www.digitalarkivet.no/en/search/persons/advanced
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)
|
municipals |
a vector of municipal codes or names (and |
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 |
A data.frame with ame, residence, year, type, role, event, birth, place, family position, source, url
Municipal codes in codemunicipal. Use wildcard searches * since most names and places have alternate spellings like Michel or Mikkel, Larsen or Larssen, etc
Chris Stubben
get_records
to loop through search results and get indvidual records
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.