View source: R/02-calculate-prices.R
calculate_prices_csv | R Documentation |
Rpackage file: 02-calculate-prices.R
calculate_prices_csv(
base_path = "./",
file_path,
id_type = c("string", "column"),
proj_id,
form_id,
unique_id_col = "_uuid",
hh_id_col = NULL,
overwrite = F
)
base_path |
The folder where you want to save any outputs, usually your current working directory ("./") |
file_path |
Filepath to a RHoMIS Survey CSV |
id_type |
RHoMIS surveys have form and project IDs. Sometimes the form and project IDs are included as a column in the dataset (id_type="column"), or the IDs are specified by the user at the point of processing (id_type="string") |
proj_id |
If ID type was string, this should be a string, if ID type was column, this should be a column name containing project IDs |
form_id |
If ID type was string, this should be a string, if ID type was column, this should be a column name containing form IDs |
unique_id_col |
The column containing unique household ids |
hh_id_col |
The column containing household ids to use, could be the same as unique_id_col. Household IDs can be linked to older longitudinal surveys when merging datasets. |
overwrite |
Whether or not to overwrite household ids |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.