wpp.by.country {wppExplorer} | R Documentation |
Selection by Country and Year
Description
Filtering indicators by given countries and year.
Usage
wpp.by.country(data, country)
wpp.by.countries(data, countries)
wpp.by.year(data, year)
Arguments
data |
Data frame as returned by |
country |
alpha-2 ISO 3166 country code. |
countries |
Vector of alpha-2 ISO 3166 country codes. |
year |
Year. For vital rates with 5-years time period, currently it is the end year of the time period. |
Value
A data frame filtered by the input arguments.
See Also
Examples
tfr <- wpp.indicator("fert")
tfr.germany.2010 <- wpp.by.country(wpp.by.year(tfr, 2010), 'DE')
[Package wppExplorer version 2.3-4 Index]