clean_age_population_year | R Documentation |
Internally used function within age_population()
to separate age groups
into its lower & upper limit and then filter the data passed to the desired
year and location.
clean_age_population_year(
data,
location_col = NULL,
location = NULL,
age_col,
year_col = NULL,
year = NULL
)
data |
data.frame |
location_col |
bare unquoted variable referring to location column |
location |
location name to filter to. If not specified gives all locations. |
age_col |
bare unquoted variable referring to age column |
year_col |
bare unquoted variable referring to year column |
year |
year to filter to. If not specified, gives all years. |
data frame with lower.age.limit
and upper.age.limit
and
optionally filtered down to specific location or year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.