Package: hubData 2.2.1

Anna Krystalli

hubData: Tools for accessing and working with hubverse data

A set of utility functions for accessing and working with forecast and target data from Infectious Disease Modeling Hubs.

Authors:Anna Krystalli [aut, cre], Li Shandross [ctb], Nicholas G. Reich [ctb], Evan L. Ray [ctb], Becky Sweger [ctb], Dylan H. [email protected] Morris [ctb], Consortium of Infectious Disease Modeling Hubs [cph]

hubData_2.2.1.tar.gz
hubData_2.2.1.zip(r-4.7)hubData_2.2.1.zip(r-4.6)hubData_2.2.1.zip(r-4.5)
hubData_2.2.1.tgz(r-4.6-any)hubData_2.2.1.tgz(r-4.5-any)
hubData_2.2.1.tar.gz(r-4.7-any)hubData_2.2.1.tar.gz(r-4.6-any)
hubData_2.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
hubData/json (API)
NEWS

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

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

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

Datasets:

On CRAN:

Conda:

hubverse

6.68 score 7 stars 3 packages 136 scripts 32 exports 56 dependencies

Last updated from:73a329bc2c (on v2.2.1). Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK195
source / vignettesOK223
linux-release-x86_64OK202
macos-release-arm64OK130
macos-oldrel-arm64OK139
windows-develOK130
windows-releaseOK151
windows-oldrelOK131
wasm-releaseOK136

Exports:%>%arrow_schema_to_stringas_model_out_tblas_r_schemacoerce_to_charactercoerce_to_hub_schemacollect_hubcollect_zoltarconnect_hubconnect_model_outputconnect_target_oracle_outputconnect_target_timeseriescreate_hub_schemacreate_model_out_submit_tmplcreate_oracle_output_schemacreate_timeseries_schemaexpand_model_out_val_gridextract_hive_partitionsget_s3_bucket_nameget_target_data_colnamesget_target_file_extget_target_pathgs_bucketis_hive_partitioned_pathis_supported_arrow_typeload_model_metadatamodel_id_mergemodel_id_splitr_to_arrow_datatypess3_bucketvalidate_arrow_schemavalidate_model_out_tbl

Dependencies:arrowaskpassassertthatbackportsbase64urlbitbit64cachemcheckmateclicliprcpp11crayoncurldata.tabledplyrfastmapfsgenericsgitcredsgluehmshttrhttr2hubUtilsinijsonlitelifecyclelubridatemagrittrmemoisemimeMMWRweekopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrlangstringistringrsystibbletidyselecttimechangetzdbutf8vctrsvroomwithryamlzoltr

Readme and manuals

Help Manual

Help pageTopics
Mapping of Arrow types to base R typesarrow_to_r_datatypes
Convert or validate an Arrow schema for compatibility with base R column typesarrow_schema_to_string as_r_schema is_supported_arrow_type validate_arrow_schema
Coerce data.frame/tibble column data types to hub schema data types or character.coerce_to_character coerce_to_hub_schema
Collect Hub model output datacollect_hub
Load forecasts from zoltardata.com in hubverse formatcollect_zoltar
Connect to model output data.connect_hub connect_model_output
Open connection to oracle-output target dataconnect_target_oracle_output
Open connection to time-series target dataconnect_target_timeseries
Create a Hub arrow schemacreate_hub_schema
Create a model output submission file templatecreate_model_out_submit_tmpl
Create oracle-output target data file schemacreate_oracle_output_schema
Create time-series target data file schemacreate_timeseries_schema
Create expanded grid of valid task ID and output type value combinationsexpand_model_out_val_grid
Extract Hive-style partition key-value pairs from a pathextract_hive_partitions
Get the bucket name for the cloud storage location.get_s3_bucket_name
Get expected target data column names from configget_target_data_colnames
Get target data file unique file extensions.get_target_file_ext
Get the path(s) to the target data file(s) in the hub directory.get_target_path
Connect to a Google Cloud Storage (GCS) bucketgs_bucket
Check whether a path contains Hive-style partitioningis_hive_partitioned_path
Compile hub model metadataload_model_metadata
Print a <hub_connection> or <mod_out_connection> S3 class objectprint.hub_connection print.mod_out_connection
Create R type to Arrow DataType mappingr_to_arrow_datatypes
Connect to an AWS S3 buckets3_bucket