Skip to contents

Gather location data from a forecast hub.

Usage

gather_hub_location_data(
  hub_path,
  location_file_rel_path = fs::path("auxiliary-data", "locations.csv"),
  file_format = NULL
)

Arguments

hub_path

Local path to forecast hub.

location_file_rel_path

The path to the data file for location data relative to forecast hub directory. Defaults to expected path in the FluSight forecast hub.

file_format

Format of the target data file to read. Passed to read_tabular_file() One of "tsv", "csv", "parquet". If NULL, will be inferred from the file extension. Default NULL.

Value

Table of location data.