Skip to contents

Convenience function to read back nowcast results written by write_nowcast_parquet().

Usage

read_nowcast_parquet(output_dir, locations = NULL)

Arguments

output_dir

Character. Directory path containing parquet partitions.

locations

Optional character vector of locations to read. If NULL, reads all locations.

Value

A data frame of nowcast results.

Examples

if (FALSE) { # \dontrun{
# Read all locations
results <- read_nowcast_parquet("output/nowcasts")

# Read specific locations
results <- read_nowcast_parquet("output/nowcasts", locations = c("ca", "ny"))
} # }