Save PlanScore Output
Arguments
- link
index url output from
ps_upload()
functions- path
path to save copy of data in, likely ending in
.json
ifjson = TRUE
or.tsv
ifjson = FALSE
.- json
should the file be saved as
.json
(TRUE
) or.tsv
(FALSE
).json = TRUE
is slower but contains more information.
Examples
url <- 'https://planscore.s3.amazonaws.com/uploads/20221127T213653.168557156Z/index.json'
tf <- tempfile(fileext = '.json')
ps_save(url, tf)