wpp.by.country: Selection by Country and Year

Description Usage Arguments Value See Also Examples

View source: R/wpp.R

Description

Filtering indicators by given countries and year.

Usage

1
2
3
4
5

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

1
2
tfr <- wpp.indicator("fert")
tfr.germany.2010 <- wpp.by.country(wpp.by.year(tfr, 2010), 'DE')

Example output

Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'

wppExplorer documentation built on April 14, 2020, 6:58 p.m.