diff --git a/scripts/us_cdc/heat_related_illness/README.md b/scripts/us_cdc/heat_related_illness/README.md index 02d9810793..e1fe6b9921 100644 --- a/scripts/us_cdc/heat_related_illness/README.md +++ b/scripts/us_cdc/heat_related_illness/README.md @@ -3,27 +3,21 @@ This directory imports [Heat and Heat-related Illness](https://ephtracking.cdc.gov/qrlist/35) from EPH Tracking into Data Commons. It includes data at a state level. ## Cleaning source data -The source data is downloaded manually from the EPH [website](https://ephtracking.cdc.gov/qrlist/35). Currently, this import brings in data related to [Heat-related Emergency Department Visits](https://ephtracking.cdc.gov/qrd/438), [Heat-Related Mortality](https://ephtracking.cdc.gov/qrd/370), and [Heat-related Hospitalizations](https://ephtracking.cdc.gov/qrd/431). -To clean the source data, run: +The source data is available from the EPH [website](https://ephtracking.cdc.gov/qrlist/35). Currently, this import brings in data related to [Heat-related Emergency Department Visits](https://ephtracking.cdc.gov/qrd/438), [Heat-Related Mortality](https://ephtracking.cdc.gov/qrd/370), and [Heat-related Hospitalizations](https://ephtracking.cdc.gov/qrd/431). -```bash -python clean_data.py --input_path=source_data/ --output_path= -``` - -## Generating artifacts at a State level: -The artifacts can be generated from the cleaned data. -To generate `cleaned.csv`, `output.mcf` run: +To download and clean the source data, run: ```bash -python preprocess.py --input_path= --config_path= --output_path= +python clean_data.py ``` -## Aggregating at a Country level -At a country level, aggregation is performed by summing over the state level `cleaned.csv`. -To aggregate run: +## Generating artifacts at a State level & Aggregating at a Country level: +The artifacts can be generated from the cleaned data and At a country level, aggregation is performed by summing over the state level `cleaned.csv` and country level data is generated as `state/country_output.csv`. + +To generate `cleaned.csv`, `output.mcf`, `output.tmcf` and `country_output.csv`run: ```bash -python aggregate.py --input_path= --output_path= +python preprocess.py ``` ## Data Caveats: diff --git a/scripts/us_cdc/heat_related_illness/preprocess.py b/scripts/us_cdc/heat_related_illness/preprocess.py index 16197efe65..2e4eb8efba 100644 --- a/scripts/us_cdc/heat_related_illness/preprocess.py +++ b/scripts/us_cdc/heat_related_illness/preprocess.py @@ -32,13 +32,13 @@ _CONFIG = None -# Columns in cleaned CSV -_OUTPUT_COLUMNS = ('Year', 'StatVar', 'Quantity', 'Geo', 'measurementMethod') input_path = "./source_data/combined_csv_files/" - config_path = "./config.json" output_path = "./state" +# Columns in cleaned CSV +_OUTPUT_COLUMNS = ('Year', 'StatVar', 'Quantity', 'Geo', 'measurementMethod') + def generate_tmcf(): _TMCF_TEMPLATE = ("Node: E:EPHHeatIllness->E0\n" @@ -155,36 +155,38 @@ def aggregate(): country_df.to_csv(output_path + "/country_output.csv", index=False) +def process(cleaned_csv_path, output_mcf_path, input_path): + global _CONFIG + with open(config_path, 'r', encoding='utf-8') as config_f: + _CONFIG = json.load(config_f) + + with open(cleaned_csv_path, 'w', encoding='utf-8') as cleaned_f: + f_writer = csv.DictWriter(cleaned_f, fieldnames=_OUTPUT_COLUMNS) + f_writer.writeheader() + statvar_list = [] + for file_name in os.listdir(input_path): + if file_name.endswith('.csv'): + file_path = os.path.join(input_path, file_name) + with open(file_path, 'r', encoding='utf-8') as csv_f: + f_reader = csv.DictReader(csv_f, + delimiter=',', + quotechar='"') + statvars = _process_file(file_name, f_reader, f_writer) + if statvars: + statvar_list.extend(statvars) + write_to_mcf(statvar_list, output_mcf_path) + + def main(argv): try: - global _CONFIG - with open(config_path, 'r', encoding='utf-8') as config_f: - _CONFIG = json.load(config_f) - cleaned_csv_path = os.path.join(output_path, 'cleaned.csv') output_mcf_path = os.path.join(output_path, 'output.mcf') - - with open(cleaned_csv_path, 'w', encoding='utf-8') as cleaned_f: - f_writer = csv.DictWriter(cleaned_f, fieldnames=_OUTPUT_COLUMNS) - f_writer.writeheader() - - statvar_list = [] - for file_name in os.listdir(input_path): - if file_name.endswith('.csv'): - file_path = os.path.join(input_path, file_name) - with open(file_path, 'r', encoding='utf-8') as csv_f: - f_reader = csv.DictReader(csv_f, - delimiter=',', - quotechar='"') - statvars = _process_file(file_name, f_reader, f_writer) - if statvars: - statvar_list.extend(statvars) - - write_to_mcf(statvar_list, output_mcf_path) + process(cleaned_csv_path, output_mcf_path, input_path) generate_tmcf() aggregate() + logging.info("Processing completed!") except Exception as e: - logging.fatal(f"Processing Error - {e}") + logging.fatal(f"Encountered some issue with process - {e}") if __name__ == "__main__": diff --git a/scripts/us_cdc/heat_related_illness/preprocess_test.py b/scripts/us_cdc/heat_related_illness/preprocess_test.py index 74ee1857f5..6adac4e726 100644 --- a/scripts/us_cdc/heat_related_illness/preprocess_test.py +++ b/scripts/us_cdc/heat_related_illness/preprocess_test.py @@ -16,40 +16,50 @@ import os import unittest import tempfile -import subprocess +from preprocess import process _SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__)) class EPHHeatRelatedIllness(unittest.TestCase): + def __init__(self, methodName: str = ...) -> None: + super().__init__(methodName) + self.exp_path = os.path.join(_SCRIPT_PATH, 'testdata', 'expected_files') + self.act_path = os.path.join(_SCRIPT_PATH, 'testdata', 'actual_files') + csv_path = os.path.join(self.act_path, 'cleaned.csv') + mcf_path = os.path.join(self.act_path, 'output.mcf') + input_path = os.path.join(_SCRIPT_PATH, 'testdata', 'cleaned_data/') + try: + os.makedirs(self.act_path) + except FileExistsError: + pass # Directory already exists + + # generates actual output in tmp directory + process(csv_path, mcf_path, input_path) + + with open(csv_path, 'r', encoding='utf-8') as f_result: + self.actual_csv_result = f_result.read() + + with open(mcf_path, 'r', encoding='utf-8') as f_result: + self.actual_mcf_result = f_result.read() + def test_csv(self): - with tempfile.TemporaryDirectory() as tmp_dir: - csv_path = os.path.join(tmp_dir, 'cleaned.csv') - mcf_path = os.path.join(tmp_dir, 'output.mcf') - preprocess_path = os.path.join(_SCRIPT_PATH, 'preprocess.py') - config_path = os.path.join(_SCRIPT_PATH, 'config.json') - input_path = os.path.join(_SCRIPT_PATH, 'testdata', 'cleaned_data') - - subprocess.call([ - 'python', preprocess_path, f'--input_path={input_path}', - f'--config_path={config_path}', f'--output_path={tmp_dir}' - ]) - - with open(csv_path, 'r', encoding='utf-8') as f_result: - test_result = f_result.read() - expected_csv_path = os.path.join(_SCRIPT_PATH, 'testdata', - 'expected.csv') - with open(expected_csv_path, 'r', - encoding='utf-8') as f_expected: - expected_result = f_expected.read() - self.assertEqual(test_result, expected_result) - - with open(mcf_path, 'r', encoding='utf-8') as f_result: - test_result = f_result.read() - expected_mcf_path = os.path.join(_SCRIPT_PATH, 'testdata', - 'expected_output.mcf') - with open(expected_mcf_path, 'r', - encoding='utf-8') as f_expected: - expected_result = f_expected.read() - self.assertEqual(test_result, expected_result) \ No newline at end of file + expected_csv_path = os.path.join(self.exp_path, 'expected.csv') + + with open(expected_csv_path, 'r', encoding='utf-8') as f_expected: + expected_result = f_expected.read() + + self.assertEqual(self.actual_csv_result, expected_result) + + def test_mcf(self): + expected_mcf_path = os.path.join(self.exp_path, 'expected_output.mcf') + + with open(expected_mcf_path, 'r', encoding='utf-8') as f_expected: + expected_result = f_expected.read() + + self.assertEqual(self.actual_mcf_result, expected_result) + + +if __name__ == '__main__': + unittest.main() diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/deaths.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/deaths.csv index 426484fa2b..4c416c7297 100644 --- a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/deaths.csv +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/deaths.csv @@ -1,21 +1,10 @@ -Year,State,Data Value -2000,California,41 -2001,California,25 -2002,California,43 -2003,California,38 -2004,California,33 -2005,California,62 -2006,California,188 -2007,California,67 -2008,California,42 -2009,California,54 -2010,California,39 -2011,California,26 -2012,California,61 -2013,California,66 -2014,California,47 -2015,California,49 -2016,California,67 -2017,California,98 -2018,California,98 -2019,California,57 +Year,State,Data Value +2016,Alabama,12 +2017,Arizona,177 +2018,Arkansas,13 +2019,California,128 +2020,Colorado,11 +2021,Connecticut,Suppressed +2000,Delaware,Suppressed +2001,District of Columbia,Suppressed +2002,Florida,41 \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisit_age.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisit_age.csv new file mode 100644 index 0000000000..c4fb1a16e5 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisit_age.csv @@ -0,0 +1,11 @@ +Year,State,Data Value,Age Group +2010,Alaska,0,0 TO 4 +2011,Alaska,0,5 TO 14 +2012,Alaska,2,15 TO 34 +2013,Alaska,0,35 TO 64 +2014,Alaska,0,>= 65 +2015,Arizona,27,0 TO 4 +2016,Arizona,92,5 TO 14 +2017,Arizona,620,15 TO 34 +2018,Arizona,681,35 TO 64 +2019,Arizona,153,>= 65 \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisits.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisits.csv new file mode 100644 index 0000000000..b890646428 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisits.csv @@ -0,0 +1,10 @@ +Year,State,Data Value +2015,Arizona,"1,978" +2016,California,"5,309" +2017,Colorado,355 +2018,Connecticut,348 +2019,Florida,"5,209" +2020,Iowa,774 +2021,Kansas,813 +2022,Kentucky,"1,479" +2000,Louisiana,"2,836" \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisits_age_gender.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisits_age_gender.csv deleted file mode 100644 index ade7b9c696..0000000000 --- a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVisits_age_gender.csv +++ /dev/null @@ -1,141 +0,0 @@ -Year,State,Data Value,Age Group,Gender -2005,California,55,0 TO 4,Male -2005,California,42,0 TO 4,Female -2005,California,141,5 TO 14,Male -2005,California,123,5 TO 14,Female -2005,California,777,15 TO 34,Male -2005,California,353,15 TO 34,Female -2005,California,894,35 TO 64,Male -2005,California,443,35 TO 64,Female -2005,California,282,>= 65,Male -2005,California,249,>= 65,Female -2006,California,88,0 TO 4,Male -2006,California,65,0 TO 4,Female -2006,California,171,5 TO 14,Male -2006,California,138,5 TO 14,Female -2006,California,"1,096",15 TO 34,Male -2006,California,595,15 TO 34,Female -2006,California,"1,487",35 TO 64,Male -2006,California,794,35 TO 64,Female -2006,California,559,>= 65,Male -2006,California,662,>= 65,Female -2007,California,58,0 TO 4,Male -2007,California,51,0 TO 4,Female -2007,California,159,5 TO 14,Male -2007,California,130,5 TO 14,Female -2007,California,796,15 TO 34,Male -2007,California,385,15 TO 34,Female -2007,California,969,35 TO 64,Male -2007,California,494,35 TO 64,Female -2007,California,320,>= 65,Male -2007,California,346,>= 65,Female -2008,California,83,0 TO 4,Male -2008,California,54,0 TO 4,Female -2008,California,187,5 TO 14,Male -2008,California,171,5 TO 14,Female -2008,California,902,15 TO 34,Male -2008,California,491,15 TO 34,Female -2008,California,"1,095",35 TO 64,Male -2008,California,562,35 TO 64,Female -2008,California,397,>= 65,Male -2008,California,376,>= 65,Female -2009,California,53,0 TO 4,Male -2009,California,59,0 TO 4,Female -2009,California,210,5 TO 14,Male -2009,California,154,5 TO 14,Female -2009,California,831,15 TO 34,Male -2009,California,427,15 TO 34,Female -2009,California,"1,077",35 TO 64,Male -2009,California,581,35 TO 64,Female -2009,California,368,>= 65,Male -2009,California,312,>= 65,Female -2010,California,63,0 TO 4,Male -2010,California,51,0 TO 4,Female -2010,California,195,5 TO 14,Male -2010,California,128,5 TO 14,Female -2010,California,754,15 TO 34,Male -2010,California,407,15 TO 34,Female -2010,California,872,35 TO 64,Male -2010,California,453,35 TO 64,Female -2010,California,379,>= 65,Male -2010,California,301,>= 65,Female -2011,California,59,0 TO 4,Male -2011,California,45,0 TO 4,Female -2011,California,191,5 TO 14,Male -2011,California,146,5 TO 14,Female -2011,California,854,15 TO 34,Male -2011,California,494,15 TO 34,Female -2011,California,960,35 TO 64,Male -2011,California,535,35 TO 64,Female -2011,California,303,>= 65,Male -2011,California,274,>= 65,Female -2012,California,75,0 TO 4,Male -2012,California,74,0 TO 4,Female -2012,California,222,5 TO 14,Male -2012,California,192,5 TO 14,Female -2012,California,"1,050",15 TO 34,Male -2012,California,544,15 TO 34,Female -2012,California,"1,248",35 TO 64,Male -2012,California,672,35 TO 64,Female -2012,California,473,>= 65,Male -2012,California,409,>= 65,Female -2013,California,80,0 TO 4,Male -2013,California,71,0 TO 4,Female -2013,California,204,5 TO 14,Male -2013,California,204,5 TO 14,Female -2013,California,"1,018",15 TO 34,Male -2013,California,597,15 TO 34,Female -2013,California,"1,272",35 TO 64,Male -2013,California,759,35 TO 64,Female -2013,California,465,>= 65,Male -2013,California,426,>= 65,Female -2014,California,80,0 TO 4,Male -2014,California,73,0 TO 4,Female -2014,California,237,5 TO 14,Male -2014,California,200,5 TO 14,Female -2014,California,"1,045",15 TO 34,Male -2014,California,557,15 TO 34,Female -2014,California,"1,332",35 TO 64,Male -2014,California,693,35 TO 64,Female -2014,California,479,>= 65,Male -2014,California,396,>= 65,Female -2015,California,75,0 TO 4,Male -2015,California,84,0 TO 4,Female -2015,California,214,5 TO 14,Male -2015,California,146,5 TO 14,Female -2015,California,"1,150",15 TO 34,Male -2015,California,607,15 TO 34,Female -2015,California,"1,378",35 TO 64,Male -2015,California,713,35 TO 64,Female -2015,California,508,>= 65,Male -2015,California,434,>= 65,Female -2016,California,58,0 TO 4,Male -2016,California,28,0 TO 4,Female -2016,California,189,5 TO 14,Male -2016,California,151,5 TO 14,Female -2016,California,"1,159",15 TO 34,Male -2016,California,558,15 TO 34,Female -2016,California,"1,388",35 TO 64,Male -2016,California,753,35 TO 64,Female -2016,California,613,>= 65,Male -2016,California,477,>= 65,Female -2017,California,67,0 TO 4,Male -2017,California,61,0 TO 4,Female -2017,California,293,5 TO 14,Male -2017,California,226,5 TO 14,Female -2017,California,"1,563",15 TO 34,Male -2017,California,850,15 TO 34,Female -2017,California,"2,023",35 TO 64,Male -2017,California,"1,151",35 TO 64,Female -2017,California,"1,011",>= 65,Male -2017,California,842,>= 65,Female -2018,California,61,0 TO 4,Male -2018,California,33,0 TO 4,Female -2018,California,207,5 TO 14,Male -2018,California,146,5 TO 14,Female -2018,California,"1,289",15 TO 34,Male -2018,California,547,15 TO 34,Female -2018,California,"1,677",35 TO 64,Male -2018,California,857,35 TO 64,Female -2018,California,805,>= 65,Male -2018,California,653,>= 65,Female diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVists_gender.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVists_gender.csv new file mode 100644 index 0000000000..8f5cd93ef0 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVists_gender.csv @@ -0,0 +1,7 @@ +Year,State,Data Value,Gender +2010,Alaska,0,Male +2011,Alaska,2,Female +2012,Arizona,"1,040",Male +2013,Arizona,534,Female +2014,California,"2,263",Male +2015,California,"1,340",Female \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVsits_age_gender.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVsits_age_gender.csv new file mode 100644 index 0000000000..bbc84df29d --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/edVsits_age_gender.csv @@ -0,0 +1,10 @@ +Year,State,Data Value,Age Group,Gender +2006,Arizona,6,0 TO 4,Male +2007,Arizona,8,0 TO 4,Female +2008,Arizona,41,5 TO 14,Male +2009,Arizona,36,5 TO 14,Female +2010,Arizona,418,15 TO 34,Male +2011,Arizona,155,15 TO 34,Female +2012,Arizona,414,35 TO 64,Male +2014,Arizona,144,35 TO 64,Female +2013,Arizona,66,>= 65,Male \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizatin_gender.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizatin_gender.csv new file mode 100644 index 0000000000..51dbbf52a6 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizatin_gender.csv @@ -0,0 +1,8 @@ +Year,State,Data Value,Gender +2014,Arizona,312,Male +2015,Arizona,95,Female +2016,California,413,Male +2017,California,174,Female +2018,Colorado,9,Male +2019,Colorado,6,Female +2020,Connecticut,23,Male \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalization_age.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalization_age.csv new file mode 100644 index 0000000000..08407e8ce0 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalization_age.csv @@ -0,0 +1,7 @@ +Year,State,Data Value,Age Group +2000,Arizona,0,0 TO 4 +2001,Arizona,2,5 TO 14 +2002,Arizona,114,15 TO 34 +2003,Arizona,345,35 TO 64 +2004,Arizona,192,>= 65 +2005,California,2,0 TO 4 \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizations.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizations.csv new file mode 100644 index 0000000000..42a0889151 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizations.csv @@ -0,0 +1,9 @@ +Year,State,Data Value +2014,Arizona,407 +2015,California,587 +2016,Colorado,15 +2017,Connecticut,26 +2018,Florida,734 +2019,Iowa,12 +2020,Kansas,64 +2021,Kentucky,96 \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizations_age_gender.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizations_age_gender.csv deleted file mode 100644 index a361d6d9c1..0000000000 --- a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitalizations_age_gender.csv +++ /dev/null @@ -1,191 +0,0 @@ -Year,State,Data Value,Age Group,Gender -2000,California,4,0 TO 4,Male -2000,California,7,0 TO 4,Female -2000,California,9,5 TO 14,Male -2000,California,2,5 TO 14,Female -2000,California,47,15 TO 34,Male -2000,California,12,15 TO 34,Female -2000,California,136,35 TO 64,Male -2000,California,39,35 TO 64,Female -2000,California,180,>= 65,Male -2000,California,189,>= 65,Female -2001,California,5,0 TO 4,Male -2001,California,2,0 TO 4,Female -2001,California,4,5 TO 14,Male -2001,California,0,5 TO 14,Female -2001,California,40,15 TO 34,Male -2001,California,15,15 TO 34,Female -2001,California,97,35 TO 64,Male -2001,California,32,35 TO 64,Female -2001,California,90,>= 65,Male -2001,California,71,>= 65,Female -2002,California,5,0 TO 4,Male -2002,California,2,0 TO 4,Female -2002,California,3,5 TO 14,Male -2002,California,0,5 TO 14,Female -2002,California,46,15 TO 34,Male -2002,California,11,15 TO 34,Female -2002,California,111,35 TO 64,Male -2002,California,37,35 TO 64,Female -2002,California,100,>= 65,Male -2002,California,85,>= 65,Female -2003,California,3,0 TO 4,Male -2003,California,5,0 TO 4,Female -2003,California,15,5 TO 14,Male -2003,California,2,5 TO 14,Female -2003,California,62,15 TO 34,Male -2003,California,13,15 TO 34,Female -2003,California,134,35 TO 64,Male -2003,California,52,35 TO 64,Female -2003,California,125,>= 65,Male -2003,California,107,>= 65,Female -2004,California,0,0 TO 4,Male -2004,California,4,0 TO 4,Female -2004,California,5,5 TO 14,Male -2004,California,0,5 TO 14,Female -2004,California,57,15 TO 34,Male -2004,California,9,15 TO 34,Female -2004,California,114,35 TO 64,Male -2004,California,31,35 TO 64,Female -2004,California,77,>= 65,Male -2004,California,58,>= 65,Female -2005,California,4,0 TO 4,Male -2005,California,7,0 TO 4,Female -2005,California,7,5 TO 14,Male -2005,California,2,5 TO 14,Female -2005,California,60,15 TO 34,Male -2005,California,7,15 TO 34,Female -2005,California,160,35 TO 64,Male -2005,California,59,35 TO 64,Female -2005,California,102,>= 65,Male -2005,California,87,>= 65,Female -2006,California,5,0 TO 4,Male -2006,California,5,0 TO 4,Female -2006,California,6,5 TO 14,Male -2006,California,4,5 TO 14,Female -2006,California,81,15 TO 34,Male -2006,California,23,15 TO 34,Female -2006,California,296,35 TO 64,Male -2006,California,117,35 TO 64,Female -2006,California,270,>= 65,Male -2006,California,293,>= 65,Female -2007,California,6,0 TO 4,Male -2007,California,4,0 TO 4,Female -2007,California,10,5 TO 14,Male -2007,California,1,5 TO 14,Female -2007,California,55,15 TO 34,Male -2007,California,13,15 TO 34,Female -2007,California,160,35 TO 64,Male -2007,California,65,35 TO 64,Female -2007,California,135,>= 65,Male -2007,California,122,>= 65,Female -2008,California,7,0 TO 4,Male -2008,California,6,0 TO 4,Female -2008,California,3,5 TO 14,Male -2008,California,4,5 TO 14,Female -2008,California,42,15 TO 34,Male -2008,California,14,15 TO 34,Female -2008,California,176,35 TO 64,Male -2008,California,61,35 TO 64,Female -2008,California,130,>= 65,Male -2008,California,128,>= 65,Female -2009,California,1,0 TO 4,Male -2009,California,2,0 TO 4,Female -2009,California,6,5 TO 14,Male -2009,California,4,5 TO 14,Female -2009,California,66,15 TO 34,Male -2009,California,8,15 TO 34,Female -2009,California,179,35 TO 64,Male -2009,California,53,35 TO 64,Female -2009,California,111,>= 65,Male -2009,California,86,>= 65,Female -2010,California,2,0 TO 4,Male -2010,California,1,0 TO 4,Female -2010,California,6,5 TO 14,Male -2010,California,4,5 TO 14,Female -2010,California,55,15 TO 34,Male -2010,California,11,15 TO 34,Female -2010,California,147,35 TO 64,Male -2010,California,48,35 TO 64,Female -2010,California,129,>= 65,Male -2010,California,100,>= 65,Female -2011,California,3,0 TO 4,Male -2011,California,2,0 TO 4,Female -2011,California,9,5 TO 14,Male -2011,California,0,5 TO 14,Female -2011,California,57,15 TO 34,Male -2011,California,15,15 TO 34,Female -2011,California,145,35 TO 64,Male -2011,California,53,35 TO 64,Female -2011,California,78,>= 65,Male -2011,California,54,>= 65,Female -2012,California,6,0 TO 4,Male -2012,California,4,0 TO 4,Female -2012,California,8,5 TO 14,Male -2012,California,3,5 TO 14,Female -2012,California,69,15 TO 34,Male -2012,California,9,15 TO 34,Female -2012,California,181,35 TO 64,Male -2012,California,70,35 TO 64,Female -2012,California,145,>= 65,Male -2012,California,83,>= 65,Female -2013,California,2,0 TO 4,Male -2013,California,3,0 TO 4,Female -2013,California,2,5 TO 14,Male -2013,California,7,5 TO 14,Female -2013,California,70,15 TO 34,Male -2013,California,19,15 TO 34,Female -2013,California,205,35 TO 64,Male -2013,California,64,35 TO 64,Female -2013,California,117,>= 65,Male -2013,California,81,>= 65,Female -2014,California,2,0 TO 4,Male -2014,California,3,0 TO 4,Female -2014,California,5,5 TO 14,Male -2014,California,3,5 TO 14,Female -2014,California,80,15 TO 34,Male -2014,California,13,15 TO 34,Female -2014,California,210,35 TO 64,Male -2014,California,69,35 TO 64,Female -2014,California,116,>= 65,Male -2014,California,86,>= 65,Female -2015,California,3,0 TO 4,Male -2015,California,1,0 TO 4,Female -2015,California,4,5 TO 14,Male -2015,California,2,5 TO 14,Female -2015,California,79,15 TO 34,Male -2015,California,18,15 TO 34,Female -2015,California,195,35 TO 64,Male -2015,California,51,35 TO 64,Female -2015,California,151,>= 65,Male -2015,California,94,>= 65,Female -2016,California,3,0 TO 4,Male -2016,California,0,0 TO 4,Female -2016,California,2,5 TO 14,Male -2016,California,2,5 TO 14,Female -2016,California,93,15 TO 34,Male -2016,California,19,15 TO 34,Female -2016,California,245,35 TO 64,Male -2016,California,80,35 TO 64,Female -2016,California,190,>= 65,Male -2016,California,122,>= 65,Female -2017,California,1,0 TO 4,Male -2017,California,1,0 TO 4,Female -2017,California,7,5 TO 14,Male -2017,California,4,5 TO 14,Female -2017,California,118,15 TO 34,Male -2017,California,37,15 TO 34,Female -2017,California,404,35 TO 64,Male -2017,California,145,35 TO 64,Female -2017,California,354,>= 65,Male -2017,California,232,>= 65,Female -2018,California,2,0 TO 4,Male -2018,California,1,0 TO 4,Female -2018,California,3,5 TO 14,Male -2018,California,0,5 TO 14,Female -2018,California,116,15 TO 34,Male -2018,California,14,15 TO 34,Female -2018,California,392,35 TO 64,Male -2018,California,114,35 TO 64,Female -2018,California,285,>= 65,Male -2018,California,199,>= 65,Female diff --git a/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitlizations_age_gender.csv b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitlizations_age_gender.csv new file mode 100644 index 0000000000..146bb533e1 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/cleaned_data/hospitlizations_age_gender.csv @@ -0,0 +1,12 @@ +Year,State,Data Value,Age Group,Gender +2001,California,5,0 TO 4,Male +2002,California,2,0 TO 4,Female +2003,California,4,5 TO 14,Male +2004,California,0,5 TO 14,Female +2005,California,40,15 TO 34,Male +2006,California,15,15 TO 34,Female +2007,California,97,35 TO 64,Male +2008,California,32,35 TO 64,Female +2009,California,90,>= 65,Male +2010,California,71,>= 65,Female +2011,Connecticut,0,0 TO 4,Male \ No newline at end of file diff --git a/scripts/us_cdc/heat_related_illness/testdata/expected.csv b/scripts/us_cdc/heat_related_illness/testdata/expected.csv deleted file mode 100644 index ad01c5d42c..0000000000 --- a/scripts/us_cdc/heat_related_illness/testdata/expected.csv +++ /dev/null @@ -1,351 +0,0 @@ -Year,Geo,StatVar,Quantity -2005-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,55.0 -2005-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,42.0 -2005-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,141.0 -2005-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,123.0 -2005-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,777.0 -2005-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,353.0 -2005-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,894.0 -2005-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,443.0 -2005-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,282.0 -2005-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,249.0 -2006-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,88.0 -2006-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,65.0 -2006-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,171.0 -2006-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,138.0 -2006-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1096.0 -2006-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,595.0 -2006-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1487.0 -2006-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,794.0 -2006-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,559.0 -2006-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,662.0 -2007-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,58.0 -2007-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,51.0 -2007-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,159.0 -2007-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,130.0 -2007-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,796.0 -2007-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,385.0 -2007-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,969.0 -2007-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,494.0 -2007-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,320.0 -2007-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,346.0 -2008-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,83.0 -2008-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,54.0 -2008-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,187.0 -2008-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,171.0 -2008-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,902.0 -2008-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,491.0 -2008-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1095.0 -2008-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,562.0 -2008-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,397.0 -2008-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,376.0 -2009-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,53.0 -2009-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,59.0 -2009-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,210.0 -2009-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,154.0 -2009-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,831.0 -2009-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,427.0 -2009-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1077.0 -2009-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,581.0 -2009-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,368.0 -2009-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,312.0 -2010-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,63.0 -2010-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,51.0 -2010-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,195.0 -2010-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,128.0 -2010-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,754.0 -2010-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,407.0 -2010-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,872.0 -2010-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,453.0 -2010-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,379.0 -2010-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,301.0 -2011-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,59.0 -2011-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,45.0 -2011-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,191.0 -2011-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,146.0 -2011-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,854.0 -2011-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,494.0 -2011-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,960.0 -2011-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,535.0 -2011-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,303.0 -2011-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,274.0 -2012-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,75.0 -2012-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,74.0 -2012-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,222.0 -2012-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,192.0 -2012-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1050.0 -2012-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,544.0 -2012-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1248.0 -2012-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,672.0 -2012-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,473.0 -2012-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,409.0 -2013-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,80.0 -2013-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,71.0 -2013-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,204.0 -2013-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,204.0 -2013-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1018.0 -2013-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,597.0 -2013-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1272.0 -2013-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,759.0 -2013-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,465.0 -2013-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,426.0 -2014-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,80.0 -2014-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,73.0 -2014-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,237.0 -2014-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,200.0 -2014-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1045.0 -2014-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,557.0 -2014-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1332.0 -2014-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,693.0 -2014-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,479.0 -2014-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,396.0 -2015-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,75.0 -2015-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,84.0 -2015-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,214.0 -2015-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,146.0 -2015-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1150.0 -2015-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,607.0 -2015-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1378.0 -2015-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,713.0 -2015-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,508.0 -2015-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,434.0 -2016-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,58.0 -2016-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,28.0 -2016-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,189.0 -2016-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,151.0 -2016-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1159.0 -2016-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,558.0 -2016-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1388.0 -2016-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,753.0 -2016-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,613.0 -2016-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,477.0 -2017-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,67.0 -2017-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,61.0 -2017-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,293.0 -2017-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,226.0 -2017-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1563.0 -2017-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,850.0 -2017-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,2023.0 -2017-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,1151.0 -2017-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1011.0 -2017-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,842.0 -2018-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,61.0 -2018-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,33.0 -2018-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,207.0 -2018-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,146.0 -2018-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1289.0 -2018-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,547.0 -2018-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1677.0 -2018-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,857.0 -2018-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,805.0 -2018-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,653.0 -2000-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,4.0 -2000-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,7.0 -2000-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,9.0 -2000-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2000-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,47.0 -2000-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,12.0 -2000-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,136.0 -2000-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,39.0 -2000-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,180.0 -2000-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,189.0 -2001-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,5.0 -2001-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2001-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,4.0 -2001-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0 -2001-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,40.0 -2001-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,15.0 -2001-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,97.0 -2001-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,32.0 -2001-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,90.0 -2001-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,71.0 -2002-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,5.0 -2002-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2002-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2002-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0 -2002-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,46.0 -2002-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,11.0 -2002-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,111.0 -2002-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,37.0 -2002-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,100.0 -2002-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,85.0 -2003-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2003-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,5.0 -2003-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,15.0 -2003-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2003-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,62.0 -2003-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,13.0 -2003-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,134.0 -2003-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,52.0 -2003-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,125.0 -2003-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,107.0 -2004-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,0.0 -2004-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2004-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,5.0 -2004-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0 -2004-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,57.0 -2004-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,9.0 -2004-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,114.0 -2004-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,31.0 -2004-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,77.0 -2004-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,58.0 -2005-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,4.0 -2005-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,7.0 -2005-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,7.0 -2005-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2005-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,60.0 -2005-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,7.0 -2005-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,160.0 -2005-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,59.0 -2005-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,102.0 -2005-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,87.0 -2006-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,5.0 -2006-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,5.0 -2006-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,6.0 -2006-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2006-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,81.0 -2006-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,23.0 -2006-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,296.0 -2006-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,117.0 -2006-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,270.0 -2006-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,293.0 -2007-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,6.0 -2007-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2007-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,10.0 -2007-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,1.0 -2007-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,55.0 -2007-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,13.0 -2007-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,160.0 -2007-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,65.0 -2007-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,135.0 -2007-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,122.0 -2008-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,7.0 -2008-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,6.0 -2008-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2008-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2008-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,42.0 -2008-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,14.0 -2008-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,176.0 -2008-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,61.0 -2008-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,130.0 -2008-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,128.0 -2009-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,1.0 -2009-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2009-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,6.0 -2009-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2009-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,66.0 -2009-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,8.0 -2009-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,179.0 -2009-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,53.0 -2009-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,111.0 -2009-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,86.0 -2010-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,2.0 -2010-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,1.0 -2010-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,6.0 -2010-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2010-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,55.0 -2010-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,11.0 -2010-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,147.0 -2010-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,48.0 -2010-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,129.0 -2010-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,100.0 -2011-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2011-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2011-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,9.0 -2011-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0 -2011-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,57.0 -2011-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,15.0 -2011-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,145.0 -2011-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,53.0 -2011-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,78.0 -2011-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,54.0 -2012-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,6.0 -2012-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2012-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,8.0 -2012-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,3.0 -2012-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,69.0 -2012-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,9.0 -2012-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,181.0 -2012-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,70.0 -2012-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,145.0 -2012-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,83.0 -2013-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,2.0 -2013-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,3.0 -2013-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,2.0 -2013-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,7.0 -2013-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,70.0 -2013-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,19.0 -2013-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,205.0 -2013-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,64.0 -2013-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,117.0 -2013-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,81.0 -2014-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,2.0 -2014-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,3.0 -2014-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,5.0 -2014-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,3.0 -2014-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,80.0 -2014-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,13.0 -2014-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,210.0 -2014-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,69.0 -2014-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,116.0 -2014-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,86.0 -2015-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2015-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,1.0 -2015-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,4.0 -2015-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2015-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,79.0 -2015-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,18.0 -2015-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,195.0 -2015-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,51.0 -2015-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,151.0 -2015-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,94.0 -2016-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2016-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0 -2016-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,2.0 -2016-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0 -2016-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,93.0 -2016-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,19.0 -2016-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,245.0 -2016-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,80.0 -2016-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,190.0 -2016-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,122.0 -2017-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,1.0 -2017-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,1.0 -2017-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,7.0 -2017-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,4.0 -2017-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,118.0 -2017-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,37.0 -2017-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,404.0 -2017-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,145.0 -2017-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,354.0 -2017-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,232.0 -2018-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,2.0 -2018-09,geoId/06,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,1.0 -2018-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,3.0 -2018-09,geoId/06,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0 -2018-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,116.0 -2018-09,geoId/06,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,14.0 -2018-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,392.0 -2018-09,geoId/06,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,114.0 -2018-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,285.0 -2018-09,geoId/06,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,199.0 -2000-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,41.0 -2001-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,25.0 -2002-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,43.0 -2003-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,38.0 -2004-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,33.0 -2005-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,62.0 -2006-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,188.0 -2007-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,67.0 -2008-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,42.0 -2009-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,54.0 -2010-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,39.0 -2011-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,26.0 -2012-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,61.0 -2013-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,66.0 -2014-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,47.0 -2015-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,49.0 -2016-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,67.0 -2017-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,98.0 -2018-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,98.0 -2019-09,geoId/06,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,57.0 diff --git a/scripts/us_cdc/heat_related_illness/testdata/expected_files/expected.csv b/scripts/us_cdc/heat_related_illness/testdata/expected_files/expected.csv new file mode 100644 index 0000000000..cbed89c2b9 --- /dev/null +++ b/scripts/us_cdc/heat_related_illness/testdata/expected_files/expected.csv @@ -0,0 +1,73 @@ +Year,StatVar,Quantity,Geo,measurementMethod +2014-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,312.0,geoId/04, +2015-09,Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,95.0,geoId/04, +2016-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,413.0,geoId/06, +2017-09,Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,174.0,geoId/06, +2018-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,9.0,geoId/08, +2019-09,Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,6.0,geoId/08, +2020-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,23.0,geoId/09, +2010-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,0.0,geoId/02, +2011-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,0.0,geoId/02, +2012-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,2.0,geoId/02, +2013-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,0.0,geoId/02, +2014-09,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,0.0,geoId/02, +2015-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,27.0,geoId/04, +2016-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,92.0,geoId/04, +2017-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,620.0,geoId/04, +2018-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,681.0,geoId/04, +2019-09,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,153.0,geoId/04, +2014-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,407.0,geoId/04, +2015-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,587.0,geoId/06, +2016-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,15.0,geoId/08, +2017-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,26.0,geoId/09, +2018-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,734.0,geoId/12, +2019-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,12.0,geoId/19, +2020-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,64.0,geoId/20, +2021-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized,96.0,geoId/21, +2010-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,0.0,geoId/02, +2011-09,Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,2.0,geoId/02, +2012-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,1040.0,geoId/04, +2013-09,Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,534.0,geoId/04, +2014-09,Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,2263.0,geoId/06, +2015-09,Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,1340.0,geoId/06, +2006-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,6.0,geoId/04, +2007-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,8.0,geoId/04, +2008-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,41.0,geoId/04, +2009-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,36.0,geoId/04, +2010-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,418.0,geoId/04, +2011-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,155.0,geoId/04, +2012-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,414.0,geoId/04, +2014-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment,144.0,geoId/04, +2013-09,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment,66.0,geoId/04, +2000-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_ConditionHeatStress_PatientHospitalized,0.0,geoId/04, +2001-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_ConditionHeatStress_PatientHospitalized,2.0,geoId/04, +2002-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_ConditionHeatStress_PatientHospitalized,114.0,geoId/04, +2003-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_ConditionHeatStress_PatientHospitalized,345.0,geoId/04, +2004-09,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_ConditionHeatStress_PatientHospitalized,192.0,geoId/04, +2005-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_ConditionHeatStress_PatientHospitalized,2.0,geoId/06, +2015-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,1978.0,geoId/04, +2016-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,5309.0,geoId/06, +2017-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,355.0,geoId/08, +2018-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,348.0,geoId/09, +2019-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,5209.0,geoId/12, +2020-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,774.0,geoId/19, +2021-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,813.0,geoId/20, +2022-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,1479.0,geoId/21, +2000-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment,2836.0,geoId/22, +2001-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,5.0,geoId/06, +2002-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,2.0,geoId/06, +2003-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,4.0,geoId/06, +2004-09,Count_MedicalConditionIncident_5To14Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,0.0,geoId/06, +2005-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,40.0,geoId/06, +2006-09,Count_MedicalConditionIncident_15To34Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,15.0,geoId/06, +2007-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,97.0,geoId/06, +2008-09,Count_MedicalConditionIncident_35To64Years_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,32.0,geoId/06, +2009-09,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,90.0,geoId/06, +2010-09,Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_PatientHospitalized,71.0,geoId/06, +2011-09,Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized,0.0,geoId/09, +2016-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,12.0,geoId/01, +2017-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,177.0,geoId/04, +2018-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,13.0,geoId/05, +2019-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,128.0,geoId/06, +2020-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,11.0,geoId/08, +2002-09,Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientDeceased,41.0,geoId/12, diff --git a/scripts/us_cdc/heat_related_illness/testdata/expected_output.mcf b/scripts/us_cdc/heat_related_illness/testdata/expected_files/expected_output.mcf similarity index 59% rename from scripts/us_cdc/heat_related_illness/testdata/expected_output.mcf rename to scripts/us_cdc/heat_related_illness/testdata/expected_files/expected_output.mcf index d4b78374a4..533f2469c3 100644 --- a/scripts/us_cdc/heat_related_illness/testdata/expected_output.mcf +++ b/scripts/us_cdc/heat_related_illness/testdata/expected_files/expected_output.mcf @@ -1,3 +1,102 @@ +Node: dcid:Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +gender: dcs:Male + +Node: dcid:Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +gender: dcs:Female + +Node: dcid:Count_MedicalConditionIncident_0To4Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [0 4 Years] + +Node: dcid:Count_MedicalConditionIncident_5To14Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [5 14 Years] + +Node: dcid:Count_MedicalConditionIncident_15To34Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [15 34 Years] + +Node: dcid:Count_MedicalConditionIncident_35To64Years_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [35 64 Years] + +Node: dcid:Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [65 - Years] + +Node: dcid:Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable + +Node: dcid:Count_MedicalConditionIncident_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +gender: dcs:Male + +Node: dcid:Count_MedicalConditionIncident_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +gender: dcs:Female + Node: dcid:Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_VisitedEmergencyDepartment populationType: dcs:MedicalConditionIncident medicalStatus: dcs:VisitedEmergencyDepartment @@ -97,16 +196,64 @@ typeOf: dcs:StatisticalVariable age: [65 - Years] gender: dcs:Male -Node: dcid:Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_Female_ConditionHeatStress_VisitedEmergencyDepartment +Node: dcid:Count_MedicalConditionIncident_0To4Years_SummerSeason_ConditionHeatStress_PatientHospitalized populationType: dcs:MedicalConditionIncident -medicalStatus: dcs:VisitedEmergencyDepartment +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [0 4 Years] + +Node: dcid:Count_MedicalConditionIncident_5To14Years_SummerSeason_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [5 14 Years] + +Node: dcid:Count_MedicalConditionIncident_15To34Years_SummerSeason_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [15 34 Years] + +Node: dcid:Count_MedicalConditionIncident_35To64Years_SummerSeason_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable +age: [35 64 Years] + +Node: dcid:Count_MedicalConditionIncident_65OrMoreYears_SummerSeason_ConditionHeatStress_PatientHospitalized +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:PatientHospitalized medicalCondition: dcs:HeatStress climaticSeason: dcs:SummerSeason measuredProperty: dcs:count statType: dcs:measuredValue typeOf: dcs:StatisticalVariable age: [65 - Years] -gender: dcs:Female + +Node: dcid:Count_MedicalConditionIncident_SummerSeason_ConditionHeatStress_VisitedEmergencyDepartment +populationType: dcs:MedicalConditionIncident +medicalStatus: dcs:VisitedEmergencyDepartment +medicalCondition: dcs:HeatStress +climaticSeason: dcs:SummerSeason +measuredProperty: dcs:count +statType: dcs:measuredValue +typeOf: dcs:StatisticalVariable Node: dcid:Count_MedicalConditionIncident_0To4Years_SummerSeason_Male_ConditionHeatStress_PatientHospitalized populationType: dcs:MedicalConditionIncident