Last data update: 2014.03.03
|
R: Selection by Country and Year
wpp.by.country | 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 wpp.indicator .
|
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
wpp.indicator
Examples
tfr <- wpp.indicator("fert")
tfr.germany.2010 <- wpp.by.country(wpp.by.year(tfr, 2010), 'DE')
Results
|