View source: R/inference_runs.R
list_predictive_names | R Documentation |
List the predictive names from the Generable API for a specific run.
list_predictive_names(run_id, project = NULL, project_version_id = NULL)
run_id |
Run id; required |
project |
Project name. If NULL, defaults to value of environment variable GECO_API_PROJECT |
project_version_id |
Project version. If NULL, defaults to the most recent version of the project if provided, or the value of environment variable GECO_API_PROJECT_VERSION |
A run is generated by a model and a dataset. This function retrieves the
names of all predictive quantities for a specific run as a vector. This can be used in
fetch_quantiles
.
Authentication (see login
) is required prior to using this function
and this pulls the list of predictive names names from the Generable API.
A project can be specified by using the project name or a specific project version.
If a project is specified using the name, data is fetched for the latest version of the project.
If a project is specified using the project version, the project name is not required.
If neither a project nor a project version is provided, the default project or project version is used. These are set by the environment variables GECO_API_PROJECT and GECO_API_PROJECT_VERSION
data.frame with name, description, and submodel for each predictive quantity exposed from the specified run
list_models
, list_datasets
,
fetch_quantiles
, fetch_draws
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.