Provides a Screen growth curves according to JGZ guidelines
Arguments
- txt
A JSON string, URL or file with the data in JSON format. The input data adhere to specification BDS JGZ 3.2.5, and are converted to JSON according to
schema
.- session
Alternative to
txt
. Session key where input data is uploaded onsitehost
.- format
String. JSON data schema version number. There are currently three schemas supported:
"1.0"
,"1.1"
,"2.0"
and"3.0"
. Formats"1.0"
and"1.1"
are included for backward compatibility only. Useformat = "3.0"
for new applications.- loc
Alternative to
txt
. Location where input data is uploaded. Argumentloc
is deprecated and will disappear in Nov 2022; please usesession
instead.- ...
Ignored
Examples
fn <- system.file("extdata", "bds_v2.0", "smocc", "Laura_S.json", package = "jamesdemodata")
host <- "http://localhost"
if (FALSE) { # \dontrun{
# first upload, then create custom list
r1 <- jamesclient::james_post(host = host, path = "data/upload", txt = fn)
loc <- jamesclient::get_url(r1, "location")
list1 <- custom_list(loc = loc)
# upload & screen
list2 <- custom_list(txt = fn)
identical(list1, list2)
} # }