Update the path of a txt/csv file in a workspace
Usage
txt_update_path(jws, new_path, idx_sap = NULL, idx_sai = NULL)
Arguments
- jws
the workspace object
- new_path
the new raw data path of the text data
- idx_sap
the index (or the indices) of the SA-Processing (s) to check
- idx_sai
the index (or the indices) of the SA-Item(s) to check.
Value
This function return either NULL if the updating were successfull, or an
error.
Examples
# library("rjd3workspace")
# ws <- rjd3workspace::.jws_open(file = "ws_production.xml")
#
# # Update all the second SA-Processing with a new path
# spreadsheet_update_path(
# jws = jws_object,
# new_path = normalizePath("./data/IPI_nace4.csv", mustWork = TRUE),
# idx_sap = 1L
# )