get_person_social: Get person social media accounts

Description Usage Arguments Value See Also Examples

View source: R/api.R

Description

Get person social media accounts

Usage

1
get_person_social(types, token = Sys.getenv("HLIDAC_TOKEN"))

Arguments

types

Types of social media accounts, only the following types are allowed: 'Twitter', 'Facebook_page', 'Facebook_profile', 'Instagram', 'WWW', 'Youtube'

token

Access token

Value

data.frame with data on persons' social accounts with the following columns: - titulPred: academic titles written before person's name - jmeno: given name - prijmeni: surname - titulPo: academic titles written after person's name - nameId: person's ID - profile: URL of profile at hlidacstatu.cz - socialniSite: data.frame with data on social accounts (Type of social media, Id of the social media account, URL)

See Also

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

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

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

Examples

1
2
3
4
## Not run: 
get_person_social(types = c("Twitter", "Instagram"))

## End(Not run)

skvrnami/hlidacr documentation built on Sept. 16, 2021, 5:20 p.m.