hubUtils1.2.0 package

Core 'hubverse' Utilities

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_versio...

get_config_tid

Get the name of the output type id column based on the schema version

get_hub_timezone

Get hub configuration fields

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_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_schema

Download a schema

get_task_id_names

Get hub task IDs

get_version_config

Get hub config schema versions

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...

is_url

Determine if a string is a URL

is_v3_config_file

Is config file using v3.0.0 schema?

is_v3_config

Is config list representation 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

pipe

Pipe operator

read_config_file

Read a JSON config file from a path

read_config

Read a hub config file into R

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_versions to specific version numbers from ...

Core set of low-level utilities common across the 'hubverse'. Used to interact with 'hubverse' schema, Hub configuration files and model outputs and designed to be primarily used internally by other 'hubverse' packages. See Reich et al. (2022) <doi:10.2105/AJPH.2022.306831> for an overview of Collaborative Hubs.

  • Maintainer: Anna Krystalli
  • License: MIT + file LICENSE
  • Last published: 2026-01-13