Learn R Programming

CME.assistant (version 1.1.4)

read.country.summary: function to read "Rates & Deaths_Country Summary.csv" and output long format

Description

function to read "Rates & Deaths_Country Summary.csv" and output long format

Usage

read.country.summary(dir_dt_cs, year_wanted = NULL, sex = NULL)

Arguments

dir_dt_cs

directory to Rates & Deaths_Country Summary.csv

year_wanted

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

sex

default to NULL, will determine from file dir