Skip to contents

Provides a Screen growth curves according to JGZ guidelines

Usage

custom_list(txt = "", session = "", format = "1.0", loc = "", ...)

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 on sitehost.

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. Use format = "3.0" for new applications.

loc

Alternative to txt. Location where input data is uploaded. Argument loc is deprecated and will disappear in Nov 2022; please use session instead.

...

Ignored

Value

A table with screening results

A list with custom parts

Examples

fn <- system.file("extdata", "bds_v2.0", "smocc", "Laura_S.json", package = "jamesdemodata")
host <- "http://localhost"
if (FALSE) {
# 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)
}