ps_save {planscorer} | R Documentation |
Save PlanScore Output
ps_save(link, path, json = TRUE)
link |
index url output from |
path |
path to save copy of data in, likely ending in |
json |
should the file be saved as |
path to json
file
url <- 'https://planscore.s3.amazonaws.com/uploads/20221127T213653.168557156Z/index.json'
tf <- tempfile(fileext = '.json')
try({ # relies on internet resource
ps_save(url, tf)
})