Learn R Programming

wppExplorer (version 2.3-4)

set.wpp.year: Edit/Retrieve WPP Year.

Description

Change/get the WPP year which determines from which wpp package data are retrieved.

Usage

set.wpp.year(wpp.year)

get.wpp.year()

Arguments

wpp.year

Possible values are 2019 (default), 2017, 2015, 2012, and 2010.

Value

get.wpp.year returns the wpp year used through out the package.

Examples

Run this code
# NOT RUN {
get.wpp.year() # by default the wpp2019 is used
set.wpp.year(2012) # any subsequent operations use the wpp2012 package
# }

Run the code above in your browser using DataLab