get_person_social {hlidacr}R Documentation

Get person social media accounts

Description

Get person social media accounts

Usage

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

## Not run: 
get_person_social(types = c("Twitter", "Instagram"))

## End(Not run)

[Package hlidacr version 0.2.0 Index]