read.region.summary: function to read regional summary and output long format

Description Usage Arguments

View source: R/1.data_engineering.R

Description

function to read regional summary and output long format

Usage

1
2
3
4
5
6
read.region.summary(
  dir_dt_cs,
  year_wanted = NULL,
  sex = NULL,
  add_regional_grouping = FALSE
)

Arguments

dir_dt_cs

directory to e.g. paste0("Rates & Deaths_UNICEFRegion.csv")

year_wanted

default to null, supply e.g. 1990:2019

sex

default to NULL, will determine from file dir

add_regional_grouping

if add 'Regional_Grouping' column


CME.assistant documentation built on March 22, 2021, 5:07 p.m.