get_person {hlidacr}R Documentation

Get person details

Description

Get person details

Usage

get_person(person_id, token = Sys.getenv("HLIDAC_TOKEN"))

Arguments

person_id

Person's ID

token

Access token

Value

list with the following elements: - titulPred: academic titles written before person's name - jmeno: given name - prijmeni: surname - titulPo: academic titles written after person's name (if applicable) - narozeni: date of birth - nameId: person's id - profile: URL of profile at hlidacstatu.cz - sponzoring: data.frame with data on sponsorship of political parties by the person - udalosti: events related to the person such as party membership and running in election, serving in political bodies and relations to private companies (shareholder, serving on a board) - socialniSite: data.frame with data on social media accounts

See Also

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

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

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

Examples

## Not run: 
get_person("andrej-babis")

## End(Not run)

[Package hlidacr version 0.2.0 Index]