-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_list.Rd
50 lines (44 loc) · 1.67 KB
/
custom_list.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deprecated.R
\name{custom_list}
\alias{custom_list}
\title{Provides a Screen growth curves according to JGZ guidelines}
\usage{
custom_list(txt = "", session = "", format = "1.0", loc = "", ...)
}
\arguments{
\item{txt}{A JSON string, URL or file with the data in JSON
format. The input data adhere to specification
\href{https://www.ncj.nl/themadossiers/informatisering/basisdataset/documentatie/?cat=12}{BDS JGZ 3.2.5},
and are converted to JSON according to \code{schema}.}
\item{session}{Alternative to \code{txt}. Session key where input data is uploaded
on \code{sitehost}.}
\item{format}{String. JSON data schema version number. There are currently
three schemas supported: \code{"1.0"}, \code{"1.1"}, \code{"2.0"} and \code{"3.0"}.
Formats \code{"1.0"} and \code{"1.1"} are included for backward compatibility only.
Use \code{format = "3.0"} for new applications.}
\item{loc}{Alternative to \code{txt}. Location where input data is uploaded.
Argument \code{loc} is deprecated and will disappear in Nov 2022; please
use \code{session} instead.}
\item{...}{Ignored}
}
\value{
A table with screening results
A list with custom parts
}
\description{
Provides a Screen growth curves according to JGZ guidelines
}
\examples{
fn <- system.file("extdata", "bds_v2.0", "smocc", "Laura_S.json", package = "jamesdemodata")
host <- "http://localhost"
\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)
}
}