GoogleCloudPlatform / covid-19-open-data

Datasets of daily time-series data related to COVID-19 for over 20,000 distinct locations around the world.
Apache License 2.0
472 stars 131 forks source link

Updating from V2 to V3 Schema #465

Closed a27cheung closed 3 years ago

a27cheung commented 3 years ago

Changes include:

# ${base_url}/v3/aggregated.csv.gz
# .../v3/epidemiology.csv
# .../v3/demographics.csv
# .../v3/latest/aggregated.csv.gz <- Not ready yet!!!
# .../v3/latest/epidemiology.csv <- 1 row per location_key

# .../v2/${location_key}/main.csv
# .../v3/location/${location_key}.csv
# go/open-covid-data -> GCS Bucket where the data lives
#"df = pd.read_csv(f'https://storage.googleapis.com/covid19-open-data/v2/{data_key}/main.csv').set_index('date')"
"df = pd.read_csv(f'https://storage.googleapis.com/covid19-open-data/v3/location/{data_key}.csv').set_index('date')"