mergeHmisCSVs: Merges two HMIS CSV sets.

Description Usage Arguments Examples

View source: R/MergeCSVs.R

Description

Merges two HMIS CSV sets.

Usage

1
mergeHmisCSVs(dataPathOne, dataPathTwo, pathForCombinedData, feather = FALSE)

Arguments

string

Path to folder contaning first CSV set.

string

Path to folder contaning second CSV set.

string

Path to output where merged CSVs will be written.

boolean

Save in feather file format. Default is false. Loading binary data from file takes around 1/10 the time compared to loading a CSV

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Data will be saved in CSV format.
mergeHmisCSVs('/Users/user/local/CSV_2016', 
              '/Users/user/local/CSV_2016',
              '/Users/user/local/CSV_2016_and_2017')

# Data will be saved in binary format.
mergeHmisCSVs('/Users/user/local/CSV_2016', 
              '/Users/user/local/CSV_2016',
              '/Users/user/local/CSV_2016_and_2017'
               feather = TRUE)

Ladvien/RHMIS documentation built on May 28, 2019, 1:30 p.m.