merge_linelist: Merge COVID-19 linelists from WHO AFRO

Description Usage Arguments Details Author(s)

View source: R/linelist_merge.R

Description

Merge COVID-19 linelists from WHO AFRO

Usage

1
2
3
4
5
6
7
8
9
merge_linelist(
  inputdirectory,
  outputdirectory = tempdir(),
  outputname = "Merged_linelist_",
  isotomerge = "AFRO",
  quietly = TRUE,
  variabledict = system.file("extdata", "linelist_dictionary.xlsx", package =
    "covidmonitor")
)

Arguments

inputdirectory

path to folder containing datasets

outputdirectory

path to folder where merged file is to be saved (must exist already)

outputname

character string to name merged file

isotomerge

3 letter ISO-code for country of interest, in quotation marks, combine multiple countries with c(...), default is "AFRO" to read in all available. See details for countries currently supported.

quietly

TRUE/FALSE of whether to show message of which country being processed as the function runs through files. If false will show message for each country (default = TRUE).

variabledict

path to dictionary file containing variable definitions. Default is a predefined within the package. For details of how to use your own file see README

Details

Countries currently supported include: "BFA", "CIV", "COD", "COG", "DZA", "GIN", "KEN", "LBR", "MOZ", "MUS", "NAM", "NER", "RWA", "SEN", "SLE", "STP", "SWZ", "SYC", "TCD", "UGA", "ZWE"

Author(s)

Alice Carr, Alex Spina


R4IDSR/covidmonitor documentation built on March 29, 2021, 12:05 p.m.