Create study on disk or with AntaREST server through the API.
createStudy(path, study_name = "my_study", antares_version = "8.2.0")
createStudyAPI(
host,
token = NULL,
study_name = "my_study",
antares_version = "8.2.0",
...
)
Path where to create study, it should be an empty directory, if it doesn't exist, it'll be created.
Name of the study.
Antares number version.
Host of AntaREST server API.
API personnal access token.
Other query parameters passed to POST request.
Result of antaresRead::setSimulationPath()
or setSimulationPathAPI()
accordingly.
if (FALSE) {
createStudy("path/to/simulation")
}