diff --git a/2016_AV_READING.csv b/PM10_AV_READING.csv similarity index 100% rename from 2016_AV_READING.csv rename to PM10_AV_READING.csv diff --git a/2016_MAX_1HR_READING.csv b/PM10_MAX_1HR_READING.csv similarity index 100% rename from 2016_MAX_1HR_READING.csv rename to PM10_MAX_1HR_READING.csv diff --git a/2016_MAX_24HR_READING.csv b/PM10_MAX_24HR_READING.csv similarity index 100% rename from 2016_MAX_24HR_READING.csv rename to PM10_MAX_24HR_READING.csv diff --git a/AQ_csvs.py b/PM10_csvs.py similarity index 87% rename from AQ_csvs.py rename to PM10_csvs.py index 84d2632a0b644cde1e603015fbfcf8bc4826fa03..c8cbc15deeefbcd6c30720fbbbc26a4a7aefed0f 100644 --- a/AQ_csvs.py +++ b/PM10_csvs.py @@ -19,10 +19,10 @@ air_quality_readings['value'] = air_quality_readings['value'].astype(float) air_quality_readings = air_quality_readings.set_index(["sample_datetime"]) max_readings = air_quality_readings.groupby(['sp_name']).max() -max_readings.to_csv(path_or_buf = "2016_MAX_1HR_READING.csv") +max_readings.to_csv(path_or_buf = "PM10_MAX_1HR_READING.csv") max_24HR = air_quality_readings.groupby(["sp_name"]).resample("D").mean().groupby(["sp_name"]).max() -max_24HR.to_csv(path_or_buf = "2016_MAX_24HR_READING.csv") +max_24HR.to_csv(path_or_buf = "PM10_MAX_24HR_READING.csv") average = air_quality_readings.groupby(["sp_name"]).mean() -average.to_csv(path_or_buf = "2016_AV_READING.csv") \ No newline at end of file +average.to_csv(path_or_buf = "PM10_AV_READING.csv") \ No newline at end of file diff --git a/AQ_to_LGA.csv b/PM10_to_LGA.csv similarity index 85% rename from AQ_to_LGA.csv rename to PM10_to_LGA.csv index 333fea0183821b28475f85c3bd22fc462ed53160..6a64800d3c58d2222270a2d5b1bae638e96fcac4 100644 --- a/AQ_to_LGA.csv +++ b/PM10_to_LGA.csv @@ -1,4 +1,4 @@ -sp_name,LGA_CODE +sp_name,LGA_CODE_2011 Alphington,21890 Brooklyn,23110 Dandenong,22670