powered by
Filtering indicators by given countries and year.
wpp.by.country(data, country)wpp.by.countries(data, countries)wpp.by.year(data, year)
wpp.by.countries(data, countries)
wpp.by.year(data, year)
Data frame as returned by wpp.indicator.
wpp.indicator
alpha-2 ISO 3166 country code.
Vector of alpha-2 ISO 3166 country codes.
Year. For vital rates with 5-years time period, currently it is the end year of the time period.
A data frame filtered by the input arguments.
# NOT RUN { tfr <- wpp.indicator("fert") tfr.germany.2010 <- wpp.by.country(wpp.by.year(tfr, 2010), 'DE') # }
Run the code above in your browser using DataLab