Function request_blend() acts as a one-stop-shop to obtain multiple
outputs through one request.
Arguments
- txt
A JSON string, URL, or file with BDS data in JSON format. Data should conform to the BDS JGZ 3.2.5 specification.
- sitehost
The server that renders the site. Defaults to
"http://localhost:8080"if not specified.- session
Optional session key if data is already uploaded to
sitehost.- blend
A string indicating the requested blend. The default (
"standard") returns the results of the standard end points that produces tables. Graphs are currently not supported.- loc
Deprecated. Use
sessioninstead.- ...
Ignored
Value
The default blend = "standard" return a list with the following
components:
txtString, file or URL with child data
sessionSession with uploaded child data
childProcessed child level data
timeProcessed time level data
screenersResults from application of screeners to child data
siteURL with personalised child data
Examples
if (FALSE) { # \dontrun{
fn <- system.file("extdata", "bds_v2.0", "smocc", "Laura_S.json", package = "jamesdemodata")
results <- request_blend(txt = fn)
} # }