Get information for API endpoint like categories (of research topics), (available) countries, (available) attributes (within a country) and (available) sources (within a country).
Usage
dynata_endpoint(
endpoint = c("categories", "countries", "attributes", "sources"),
auth = dynata_auth()
)Arguments
- endpoint
One of
c('categories', 'countries', 'attributes', 'sources')- auth
Result of dynata_auth
Examples
dynata_auth_prod <- dynata_auth(TRUE)
if (FALSE) { # \dontrun{
dynata_endpoint(auth = dynata_auth_prod, endpoint = "categories")
dynata_endpoint(auth = dynata_auth_prod, endpoint = "countries")
dynata_endpoint(auth = dynata_auth_prod, endpoint = "attributes")
dynata_endpoint(auth = dynata_auth_prod, endpoint = "sources")
} # }