load_rhomis_csv | R Documentation |
Load a Raw RHoMIS csv file, collected using ODK, and convert the column names into a shortened, standardised version.
load_rhomis_csv(
file_path,
country_column = "country",
unique_id_col = "_uuid",
hh_id_col = NULL,
id_type = c("string", "column"),
proj_id = NULL,
form_id = NULL,
overwrite = FALSE
)
file_path |
The filepath of the RHoMIS csv |
country_column |
The name of the column containing the country |
unique_id_col |
The column in the dataset which contains unique IDs (usually _uuid) |
hh_id_col |
The column containing household IDs |
id_type |
Indicator of whether you are providing a single ID |
proj_id |
Either a single string to be used as the project ID for all households, or the name of the column containing the project IDs (depending on id_type) |
form_id |
Either a single string to be used as the form ID for all households, or the name of the column containing the form IDs (depending on id_type) |
overwrite |
True if you would like to overwrite previous ID column, false if would not like to overwrite existing IDs |
Rpackage file: RunAll.R
A tibble of RHoMIS data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.