Core 'hubverse' Utilities


[Up] [Top]

Documentation for package ‘hubUtils’ version 1.2.0

Help Pages

as_config Coerce a config list to a config class object
as_model_out_tbl Convert model output to a 'model_out_tbl' class object.
check_deprecated_schema Check whether a config file is using a deprecated schema
convert_output_type Transform between output types
create_s3_url Create a URL to a file in an S3 bucket
extract_schema_version Extract the schema version from a schema 'id' or config 'schema_version' property character string
get_config_tid Get the name of the output type id column based on the schema version
get_date_col Get target data configuration properties
get_has_output_type_ids Get target data configuration properties
get_hub_derived_task_ids Get hub configuration fields
get_hub_file_formats Get hub configuration fields
get_hub_model_output_dir Get hub configuration fields
get_hub_timezone Get hub configuration fields
get_non_task_id_schema Get target data configuration properties
get_observable_unit Get target data configuration properties
get_round_ids Utilities for accessing round ID metadata
get_round_idx Utilities for accessing round ID metadata
get_round_model_tasks Get the model tasks for a given round
get_round_task_id_names Get task ID names for a given round
get_schema Download a schema
get_schema_url Get the JSON schema download URL for a given config file version
get_schema_valid_versions Get a vector of valid schema version
get_schema_version_latest Get the latest schema version
get_task_id_names Get hub task IDs
get_versioned Get target data configuration properties
get_version_config Get hub config schema versions
get_version_file Get hub config schema versions
get_version_hub Get hub config schema versions
has_target_data_config Get target data configuration properties
has_target_data_config.default Get target data configuration properties
has_target_data_config.SubTreeFileSystem Get target data configuration properties
hub_con_output Example Hub model output data
is_github_repo_url Detect if a URL is a GitHub repository URL
is_github_url Detect a URL on github.com
is_s3_base_fs Detect whether An object of class <SubTreeFileSystem> represents the base path of an S3 file system (i.e. the root of a cloud hub)
is_url Determine if a string is a URL
is_v3_config Is config list representation using v3.0.0 schema?
is_v3_config_file Is config file using v3.0.0 schema?
is_v3_hub Is hub configured using v3.0.0 schema?
is_valid_url Determine if a URL is valid and reachable
model_id_merge Merge/Split model output tbl 'model_id' column
model_id_split Merge/Split model output tbl 'model_id' column
read_config Read a hub config file into R
read_config_file Read a JSON config file from a path
std_colnames Hubverse model output standard column names
subset_std_cols Subset a 'model_out_tbl' or submission 'tbl'.
subset_task_id_cols Subset a 'model_out_tbl' or submission 'tbl'.
subset_task_id_names Subset a vector of column names to only include task IDs
target-data-utils Get target data configuration properties
validate_model_out_tbl Validate a 'model_out_tbl' object.
version_equal Compare hub config 'schema_version's to specific version numbers from a variety of sources
version_gt Compare hub config 'schema_version's to specific version numbers from a variety of sources
version_gte Compare hub config 'schema_version's to specific version numbers from a variety of sources
version_lt Compare hub config 'schema_version's to specific version numbers from a variety of sources
version_lte Compare hub config 'schema_version's to specific version numbers from a variety of sources