read.country.summary: Read "Rates & Deaths_Country Summary.csv" and output long...

View source: R/funcs_read_data.R

read.country.summaryR Documentation

Read "Rates & Deaths_Country Summary.csv" and output long format

Description

This function is a simpler version of get.CME.UI.data and is more straightforward to use: without many arguments, only output long format. The arguments are aligned so this function could be replaced by get.CME.UI.data in the code if needed. get.CME.UI.data offers more options, including output format, selecting id.vars. etc

Usage

read.country.summary(dir_file, year_range = NULL, sex = NULL)

Arguments

dir_file

directory to Rates & Deaths_Country Summary.csv

year_range

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

sex

default to NULL, will determine from file dir


unicef-drp/CME.assistant documentation built on Oct. 15, 2023, 7:08 p.m.