
Get metadata of a CIS study
get_metadata.RdRetrieves the technical metadata of a CIS study from its detail page, including study dates, type, country, author, and thematic indices.
Examples
# \donttest{
# Get metadata for study 3328
meta <- get_metadata("3328")
print(meta)
#> # A tibble: 10 × 2
#> field value
#> <chr> <chr>
#> 1 Fecha de estudio "18/06/2021"
#> 2 Fecha de publicación "18/06/2021"
#> 3 Código "3328"
#> 4 Tipo de estudio "Cuantitativo"
#> 5 País "España"
#> 6 Autor "CIS"
#> 7 Encargo "CIS"
#> 8 Colecciones "Ver (2)"
#> 9 Índices temáticos "Cultura política; Partidos y líderes políticos; Elecci…
#> 10 Publicación "FUERA DE COLECCIÓN CIS -\n …
# Access a specific field
meta$value[meta$field == "Tipo de estudio"]
#> [1] "Cuantitativo"
# }