resize: Resizing the Data Frame

Description Usage Arguments Details Value

View source: R/resize.R

Description

Blows out or cuts the data frame with the given start and end year. Nonexistent year columns are filled with NA. STEP TLA in column names is changed to rsz.

Usage

1
resize(x, start = 2000, end = 2017)

Arguments

x

EPI data frame to be resized

start

start year

end

end year

Details

EPI data frame follows the 2018 Masterfile convention with the first 3 columns being [code, iso, country] and the following columns being VARIABLE.STEP.YEAR (e.g. MPA.trf.2005)

Value

resized EPI data frame


elenakhusainova/EPI_Rpackage documentation built on April 17, 2020, 9:48 a.m.