Analyze data

Access hub data

hubUtils (R) hubData (R) hubdata (Python) Accessing data (R) Accessing data (Python)

You can connect to any hub with the hubUtils and hubData R packages or the hubdata Python package, and be assured that all the data within the hub are validated against the hub data standards.

In R:

In Python:

  • connect to hub data with hubdata.connect_hub()
  • read the model output as a PyArrow table with HubConnection.to_table()
  • connect to target data with hubdata.connect_target_data()

Get information about a hub

hubUtils (R) hubdata (Python)

The hubUtils R package provides utilities that give you useful information about a hub:

In Python, hubdata.connect_hub() returns a HubConnection whose .admin and .tasks attributes expose the hub’s admin.json and tasks.json as dictionaries — giving you the submission rounds, task IDs, file formats, and other configuration.

Analyze hub data

hubEnsembles hubEvals hubVis

You can use the hubEnsembles, hubEvals, and hubVis R packages to do any of the following:

Important packages

When analysing data from a hub, you will want the following packages:

  • hubData seamlessly access data from a local or remote hub
  • hubEnsembles combine models into an ensemble using built-in or custom methods
  • hubVis visualize model output
  • hubEvals compare and evaluate models in an established hub