From 6baae75ec980e6e3e0795fc30789d866b0a771f5 Mon Sep 17 00:00:00 2001 From: Amaris Sim Date: Mon, 27 Jan 2025 11:28:09 -0500 Subject: [PATCH 1/2] updated min year --- src/acquisition/covidcast/csv_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acquisition/covidcast/csv_importer.py b/src/acquisition/covidcast/csv_importer.py index e9893c0da..2a74896f7 100644 --- a/src/acquisition/covidcast/csv_importer.py +++ b/src/acquisition/covidcast/csv_importer.py @@ -68,7 +68,7 @@ class CsvImporter: REQUIRED_COLUMNS = {'geo_id', 'val', 'se', 'sample_size'} # reasonable time bounds for sanity checking time values - MIN_YEAR = 2019 + MIN_YEAR = 2017 # google-symptoms released earlier data MAX_YEAR = 2030 # The datatypes expected by pandas.read_csv. Int64 is like float in that it can handle both numbers and nans. From 16dce1c28f9ab220835fb8fa2463aa43e16fab0e Mon Sep 17 00:00:00 2001 From: aysim319 Date: Wed, 29 Jan 2025 09:50:17 -0500 Subject: [PATCH 2/2] update comment Co-authored-by: george --- src/acquisition/covidcast/csv_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acquisition/covidcast/csv_importer.py b/src/acquisition/covidcast/csv_importer.py index 2a74896f7..33df578a9 100644 --- a/src/acquisition/covidcast/csv_importer.py +++ b/src/acquisition/covidcast/csv_importer.py @@ -68,7 +68,7 @@ class CsvImporter: REQUIRED_COLUMNS = {'geo_id', 'val', 'se', 'sample_size'} # reasonable time bounds for sanity checking time values - MIN_YEAR = 2017 # google-symptoms released earlier data + MIN_YEAR = 2017 # `google-symptoms` has 2017 data MAX_YEAR = 2030 # The datatypes expected by pandas.read_csv. Int64 is like float in that it can handle both numbers and nans.