View source: R/hfr_process_template.R
hfr_process_template | R Documentation |
Run validation check on country HFR submission while it processes and tidies the submission for inclusion into the database.
hfr_process_template(
filepath,
round_hfrdate = FALSE,
hfr_pd_sel = NULL,
folderpath_output = NULL,
datim_path = NULL
)
filepath |
filepath to sumbited template |
round_hfrdate |
rounds date to the nearest HFRweek start (for non-compliance), default = FALSE |
hfr_pd_sel |
filter for HFR reporting period, 1-13, no filter when NULL, default = NULL |
folderpath_output |
if a csv output is desired, provide the full path to the folder |
datim_path |
path to DATIM lookup files for full validation |
## Not run:
#file path for the
path <- "~/WeeklyData/Saturn"
output_folder <- "~/WeeklyData/Output"
#process Excel file for Saturn
hfr_process_template(path, output_folder)
#process Excel file for Saturn with full validation
datim_folder <- "~/Datim"
hfr_process_template(path, output_folder, datim_path = datim_folder)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.