search_person_by_parameters {hlidacr}R Documentation

Search person by name and date of birth

Description

Search person by name and date of birth

Usage

search_person_by_parameters(
  first_name = NULL,
  last_name = NULL,
  birth_date = NULL,
  ignore_diacritics = TRUE,
  token = Sys.getenv("HLIDAC_TOKEN")
)

Arguments

first_name

Person's first name

last_name

Person's last name

birth_date

Person's date of birth (in YYYY-MM-DD format)

ignore_diacritics

Parameter indicating whether diacritics in names should be ignored (boolean)

token

Access token

Value

data.frame with found persons with the following columns: - jmeno: given name - prijmeni: surname - narozeni: date of birth - nameId: person's ID - profile: URL of profile at hlidacstatu.cz - titulPred: academic titles written before person's name - titulPo: academic titles written after person's name

See Also

https://www.hlidacstatu.cz/swagger/index.html

https://www.hlidacstatu.cz/api/v1/doc

Other Persons: get_person_social(), get_person(), search_person()

Examples

## Not run: 
search_person_by_parameters(first_name = "Miroslav", last_name = "Kalousek",
birth_date = "1960-12-17")

## End(Not run)

[Package hlidacr version 0.2.0 Index]