Uploads, parses, converts and stores data on the server for further processing
Source:R/deprecated.R
fetch_loc-deprecated.RdUploads JSON data that adhere to the BDS-format, parses its
contents, converts it to a list with elements psn and xyz,
and stores the result on the server for further processing.
The function is useful for caching input data over multiple requests to
OpenCPU. The cached data feed into other JAMES functions by means
of the "loc" argument. The server wipes the cached data after 2 hours.
Examples
fn <- system.file("testdata", "client3.json", package = "james")
p <- fetch_loc(fn)
#> Warning: fetch_loc() is deprecated and will disappear in Nov 2022. Please use upload_data() instead.