Create a new study object or load a study from the JSON meta-study file

study(name = "Demo Study", ...)

Arguments

name

The name of the study or a file path to a JSON meta-study file

...

further arguments to add

Value

A study object with class scivrs_study

Examples


s <- study("Demo Study")
study_to_json(s)
#> {
#>     "name": "Demo Study",
#>     "info": [],
#>     "authors": [],
#>     "hypotheses": [],
#>     "methods": [],
#>     "data": [],
#>     "analyses": []
#> }
#>