DESCRIPTION
px_description.px.Rd
Inspect or change DESCRIPTION.
Examples
# Set DESCRIPTION for all languages
x1 <-
px(population_gl) |>
px_description('Population')
# Print DESCRIPTION
px_description(x1)
#> [1] "Population"
# Set DESCRIPTION for individual languages
library(tibble)
x2 <-
x1 |>
px_languages(c('en', 'kl')) |>
px_description(tribble(~language, ~value,
'en', 'Population',
'kl', 'Innuttaasut'))
px_description(x2)
#> # A tibble: 2 × 2
#> language value
#> <chr> <chr>
#> 1 en Population
#> 2 kl Innuttaasut
# Remove DESCRIPTION
x3 <- px_description(x2, NULL)
px_description(x3)
#> NULL