Read an HDX tag from its name or id

pull_tag(
  identifier = NULL,
  vocabulary_id = NULL,
  include_datasets = FALSE,
  configuration = NULL
)

Arguments

identifier

character the name or id of the tag

vocabulary_id

character the id or name of the tag vocabulary that the tag is in - if it is not specified it will assume it is a free tag.

include_datasets

logical, include a list of the tag’s datasets.

configuration

a Configuration object

Value

Tag the tag

Examples

if (FALSE) { # Setting the config to use HDX default server set_rhdx_config() res <- pull_tag("covid19") res }