tidyErrorFile: Tidy the CoVax error file after a Mass Dataload

Description Usage Arguments Value

View source: R/tidyErrorFile.r

Description

tidyErrorFile iterates through the failed record returned after a CoVax Mass Dataload and cleans the "Error" column. A CSV is written to the path specified with outputFile. tidyErrorFile takes a conservative approach to cleaning, given that the "Error" column contains free-text.

Usage

1
tidyErrorFile(file, outputFile)

Arguments

file

Character scalar. Path to the CSV error file returned by CoVax.

outputFile

Character scalar. Path the function should use to write the tidy CSV file.

Value

tidyErrorFile returns the input file invisibly.


DurhamRegionHARP/verto2covax documentation built on July 1, 2021, 8:44 a.m.