Package: hubUtils 0.3.0

Anna Krystalli

hubUtils: Core 'hubverse' Utilities

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.

Authors:Anna Krystalli [aut, cre], Li Shandross [ctb], Nicholas G. Reich [ctb], Evan L. Ray [ctb], Zhian N. Kamvar [ctb], Consortium of Infectious Disease Modeling Hubs [cph]

hubUtils_0.3.0.tar.gz
hubUtils_0.3.0.zip(r-4.5)hubUtils_0.3.0.zip(r-4.4)hubUtils_0.3.0.zip(r-4.3)
hubUtils_0.3.0.tgz(r-4.4-any)hubUtils_0.3.0.tgz(r-4.3-any)
hubUtils_0.3.0.tar.gz(r-4.5-noble)hubUtils_0.3.0.tar.gz(r-4.4-noble)
hubUtils_0.3.0.tgz(r-4.4-emscripten)hubUtils_0.3.0.tgz(r-4.3-emscripten)
hubUtils.pdf |hubUtils.html
hubUtils/json (API)
NEWS

# Install 'hubUtils' in R:
install.packages('hubUtils', repos = c('https://hubverse-org.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/hubverse-org/hubutils/issues

Pkgdown:https://hubverse-org.github.io

Datasets:

On CRAN:

hubverse

7.22 score 6 stars 7 packages 52 scripts 518 downloads 35 exports 32 dependencies

Last updated 13 days agofrom:24a4ff12a3 (on v0.3.0). Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-winOKNov 25 2024
R-4.5-linuxOKNov 25 2024
R-4.4-winOKNov 25 2024
R-4.4-macOKNov 25 2024
R-4.3-winOKNov 25 2024
R-4.3-macOKNov 25 2024

Exports:%>%as_configas_model_out_tblcheck_deprecated_schemaextract_schema_versionget_config_tidget_hub_derived_task_idsget_hub_file_formatsget_hub_model_output_dirget_hub_timezoneget_round_idsget_round_idxget_round_model_tasksget_round_task_id_namesget_schemaget_schema_urlget_schema_valid_versionsget_schema_version_latestget_task_id_namesget_version_configget_version_fileget_version_hubis_v3_configis_v3_config_fileis_v3_hubmodel_id_mergemodel_id_splitread_configread_config_filevalidate_model_out_tblversion_equalversion_gtversion_gteversion_ltversion_lte

Dependencies:askpassbackportscachemcheckmateclicurlfansifastmapfsghgitcredsgluehttr2inijsonlitelifecyclemagrittrmemoiseopensslpillarpkgconfigpurrrR6rappdirsrlangstringistringrsystibbleutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Coerce a config list to a config class objectas_config
Convert model output to a 'model_out_tbl' class object.as_model_out_tbl
Check whether a config file is using a deprecated schemacheck_deprecated_schema
Extract the schema version from a schema 'id' or config 'schema_version' property character stringextract_schema_version
Get the name of the output type id column based on the schema versionget_config_tid
Get hub configuration fieldsget_hub_derived_task_ids get_hub_file_formats get_hub_model_output_dir get_hub_timezone
Utilities for accessing round ID metadataget_round_ids get_round_idx
Get the model tasks for a given roundget_round_model_tasks
Get task ID names for a given roundget_round_task_id_names
Download a schemaget_schema
Get the JSON schema download URL for a given config file versionget_schema_url
Get a vector of valid schema versionget_schema_valid_versions
Get the latest schema versionget_schema_version_latest
Get hub task IDsget_task_id_names
Get hub config schema versionsget_version_config get_version_file get_version_hub
Example Hub model output datahub_con_output
Is config list representation using v3.0.0 schema?is_v3_config
Is config file using v3.0.0 schema?is_v3_config_file
Is hub configured using v3.0.0 schema?is_v3_hub
Merge/Split model output tbl 'model_id' columnmodel_id_merge model_id_split
Read a hub config file into Rread_config
Read a JSON config file from a pathread_config_file
Hubverse model output standard column namesstd_colnames
Validate a 'model_out_tbl' object.validate_model_out_tbl
Compare hub config 'schema_version's to specific version numbers from a variety of sourcesversion_equal version_gt version_gte version_lt version_lte