Update the path to a csv/txt file specified in a workspace
Usage
txt_update_path(jws, new_path, idx_sap = NULL, idx_sai = NULL)
Arguments
- jws
workspace object
- new_path
new path to the csv/txt file containing raw data
- idx_sap
index (or indices) of the SA-Processing (s) to check
- idx_sai
index (or indices) of the SA-Item(s) to check.
Value
This function returns either NULL if the update was successful, or an
error
Examples
# ws <- .jws_open(file = "ws_production.xml")
#
# # Update the entire second SA-Processing of the `ws` workspace with a new path
# txt_update_path(
# jws = ws,
# new_path = normalizePath("./data/IPI_nace4.csv", mustWork = TRUE),
# idx_sap = 1L
# )