Difference between revisions of "IS428 AY2018-19T1 Lim Li Xuan"

From Visual Analytics for Business Intelligence
Jump to navigation Jump to search
Line 149: Line 149:
  
  
==Answering the Questions / Coming with Insights==
+
==Task and Findings==
 +
 
 
=Task 1=
 
=Task 1=
 
===1A. Characterize the past and most recent situation with respect to air quality measures in Sofia City.===
 
===1A. Characterize the past and most recent situation with respect to air quality measures in Sofia City.===

Revision as of 00:59, 12 November 2018

IS428_2018-19_T1_Lim_Li_Xuan

Contents

Topic

Title.jpg

Problem and Motivation

Problem and Motivation.jpg

Data Cleaning (Step-By-Step)

Union EEA DataSets

Slide4.jpg
Slide5.jpg

Filter

Slide6.jpg

Combining data with different headers

Slide6r.jpg
Slide73.jpg

Data Analysis

EEAData

  • Had hourly readings from 2017 onwards but daily from 2013-2016
  • Had missing values from Jan – Nov 2017
  • Station readings also had time gaps without data
  • Latitude and Longitude can be created once joined with given metadata: Inner join on station name.
  • Useful Fields: PM10, Lat, Long, Time, Stations

Airtube

  • Only 2 years worth of data
  • Possible Abnormalities due to citizen sensors and over the top readings
  • Need to convert geohash to Lat Long
  • Readings are not only within Sofia City but Bulgaria

METEO-DATA

  • 1 Point in the country: Airport
  • Useful Fields: Lat, Long, Time, Meteorological data [Dew Point Temperature, Precipitation Amount, Wind Speed, Humidity, Surface Pressure, Temperature, and Visibility]
  • Elevation in meters
  • Useful fields: Lat, Long, Elevation
  • Can use Density Map

StoryBoard 1

Time Series

Overview of the PM10 Concentrations collected from the respective Air Quality Stations over the Months between 2013-2018. Once a point is clicked, it expands to 1A to show distribution over days. Then we can take a closer look into which parts of the month caused the overall surge.

112mine.png

Highlight Table

1A. Highlight table shows the intensity for each station for the entire month. Using this table, we can tell which are the regions that are more polluted than the other, or if it as a common phenomenon across the city.

2sdfesf.png

StoryBoard 2

Time Series & Boxplot & Meteorology Data

The second storyboard is separate from the first because it only has 1 year worth of data. After analyzing the trends across the years, months and days. We can now study the pattern across one day in Sofia City. On selecting a day, we can see the

  • Boxplot of readings from each station with its variance.
  • Meteo Data for the day
  • Hourly readings
  • Min Max Average for the day
332323.png

Hover over to see the readings across stations in a boxplot to represent variance.

StoryBoard 3

Dynamic comparison of Meteorology Data against Concentration using a Time Series

With our next DataSet, We can now look at Meteorological data. Does the PM10 Conc. Do patterns correlate with Meteorological Patterns? Could the environment be a cause of accumulation of PM10 particles, which results in high PM10 Conc. ?

4eweweq.png
5qwewqeqwe.png

StoryBoard 4

Terrain Map & Density

How can we better visualize the patterns of PM10 Conc Levels? Through research, considering that Sofia is largely bound by high valleys and that likely a contributing factor to its pollution. There is, therefore, a need for us to picture it on a terrain map to indicate elevated areas. On top of this, we can also use this pages function to run through months of PM10 Conc. on a density map so that we can quickly identify the PM10 Levels. Clicking on each point will bring you to the worksheet.

6eadw.png

This worksheet wraps up the 6 maps shown above as it shows the concentration patterns over months, regardless of year. This is useful to confirm the months that have the worst air quality.

Dewddew.png

Step By Step (After Cleaning)

StoryBoard 1A (Time Series)

  • Filter Year, Month,Day
  • Marks Concentration
  • Columns Year Month
  • Rows Concentration
  • Action On Select, All fields ( year, month, day) to target sheet IB

StoryBoard 1B (Highlight Table)

  • Filter Year, Month, Day
  • Marks Concentration
  • Columns Year Month Day,
  • Rows Air Qty Stn

StoryBoard 2A (Circular Chart for hourly data)

  • Filter Year, Month, Day ( From EEA)  Apply to worksheets 1B
  • In order to limit to 2 years only: If you only want 2017/2018: Duplicate EEA > Extract only 2017,2018 as database > Set an Additional filter on worksheet > save

LOL1ferf.png

  • Put them together in a dashboard

LOL2erferf.png

  • Marks Concentration
  • Columns Year Month
  • Rows Concentration
  • Action On Select, All fields ( year, month, day) to target sheet 2B

StoryBoard 1B (BoxPlot)

  • Filter Year, Month, Day  Automatically filtered
  • Marks Air Quality Station
  • Columns Concentration
  • Rows Year

StoryBoard 3A

  • Duplicate 1A's worksheet
  • Filter Year, Month, Day

Affect Worksheets using the selected data source

  • Marks Concentration
  • Columns Year Month, Day
  • Rows Concentration
  • Action On Hover, filter Worksheets using Meteorological data by “Year” Field.

StoryBoard 3B: All-Time Series

  • Filter Year, Month, Day
  • Columns Year Month Day,
  • Rows measure

StoryBoard 3C: Cheat to select different views

https://onlinehelp.tableau.com/current/pro/desktop/en-us/dashboards_sheet_selector.htm

  • Create a parameter, then a dimension, custom add values and position all views overlapping each other in the dashboard. Eventually, the view will be filtered.

StoryBoard 4A

LOL3SDC.png

StoryBoard 4B: Create Map with Pages + Density

  • Filter Pages, year, Month
  • Set filter conc max to 700.
  • Columns Lat
  • Rows Long
  • Place each map into the dashboard. > Show page controls > Synchronized. So that the selection of months in the year can be synchronized with one play button.

https://kb.tableau.com/articles/howto/synchronize-sheets-on-a-dashboard-with-a-single-page-control



StoryBoard 4C: Jan-Dec Analysis + Density

  • Filter
  • Pages All years
  • Month
  • Columns Lat
  • Rows Long


Task and Findings

Task 1

1A. Characterize the past and most recent situation with respect to air quality measures in Sofia City.

With Respect to PM10 Concentrations taken, the average of each year is as shown StoryBoard 1

2013 (Daily) 2014 (Daily) 2015 (Daily) 2016 (Hourly) 2017(Hourly) 2018 (Hourly)
44.42 46.19 41.07 41.09 Omitted because of missing data for Months Jan to Oct. 29.20

Comparing the PM10 Concentration of 2013 and 2018, there is a general decrease in PM10Concentration over the years.

The concentration of PM10 usually peaks at the start and ends of the year, during January, November, and December. This still holds true from 2013-2018, as shown in Story Board 1. Pop1sdc.png

1B. What does a typical day look like for Sofia city? Do you see any trends of possible interest in this investigation?

Based on the hourly data [Storyboard 2], On a typical day, concentration is of an average of about 40 across 2013-2018. The readings are never consistent throughout the day, with obvious peaks over the days Poop12.png On a typical day, hourly readings are pretty consistent such that the maximum point is not a suspected anomaly, but is also accompanied by several other points. One possible point for investigation would be at the end of January 2018, where the readings are Olololdsfsf.png An interest of investigation would be what caused the rise in levels from 26 Jan and what happened after 10 AM ON 28 January to have caused the rapid decrease in concentration back to safe levels. However, the daily meteorological information is unable to provide further information on this.

1C. What anomalies do you find in the official air quality dataset?

  • There were extreme values that were beyond the concentration of 300 in 2017, which was questionable, given the average was only around 40. After taking a closer look, multiple different stations took turns to hold the most extreme scores (beyond 300), on the 24 of January 2018. Between 12AM to 1AM. Hence, a variable Percentile filter is created to filter anomaly based on research to decide on the threshold we want to use for future predictions.
Pop1sdc.png
  • Missing data in 2017 : excluded from [Visual 1: Analysis across years] to prevent additional bias to the dataset
  • Air Quality STA-BG0079A and STA-BG0054A Had a lot of blanks. After researching, some of the Air Quality Stations closed down between 2013-2018. Removed to reduce inconsistencies and bias. For the rest of the stations, on some years and months, ===How do these affect your analysis of potential problems to the environment?===
  • Unable to plot a trend line spanning from 2016-2018 using hourly data.
  • By not having full data of stations, I resorted to finding the average of each time bin. However, there may be inaccuracies in the averaged-data as some only had 1 data point.

Task 2

2A. Characterize the sensors’ coverage, performance and operation. Are they well distributed over the entire city? Are they all working properly at all times? Can you detect any unexpected behaviors of the sensors by analyzing the readings they capture?

  • Station Orlov Most has erratic readings that do not follow the norms. It may have been faulty. It eventually stopped service halfway through 2015. Its geographic location is also such that it is being surrounded by other sensors, hence it does not make sense why it can have such different readings at times.

SDFSFWR.png

2B. Now turn your attention to the air pollution measurements themselves. Which part of the city shows relatively higher readings than others? Are these differences time-dependent? Limit your response to no more than 6 images and 800 words.

  • The temperatures might be Month Dependent / Temperature Dependent

Monthly Averaged readings ( From 2013-2018, Aggregated by average) HEYO.png Judging by this, the trend of concentration could be month dependent HEYOR.png Following the investigation into these months, the high concentration of pollution coincides with the periods when the temperature is low. HEYORR.png Based on further research, this is a phenomenon of the temperature inversion that traps smog and thus contributes to pollution. https://sciencing.com/temperature-inversions-influence-air-pollution-10038430.html

  • Elevation Dependent

As shown on the terrain map, the lower left shows the map which has a higher elevation and usually would have lower readings. 121.png 122.png 123.png

3. Urban air pollution is a complex issue. There are many factors affecting the air quality of a city. Reveal the relationships between the factors and the air quality measure detected in Task 1 and Task 2.

3. You are required to reveal the relationships between the factors mentioned above and the air quality measure detected in Task 1 and Task 2.

By looking through the whole project, come plausible insights would be : 1. Temperature Inversion (Shown Above) 2. Elevation (Shown Above) 3. Wind speed (May also be caused by Elevation too) On still sunny days when pollution levels can build up due to a lack of wind to disperse the pollution.

Old vehicles with gasoline engines, old diesel engines and the use of solid fuels for heating are the three main sources for the dangerous pollution in Bulgaria. Even though waste has been falling over the years, a drop in 195 kg per capita since 2008, incineration has increased. Just about a third of Sofia’s waste goes to recycling and composting, while the remainder is turned into RDF for further incineration, or landfilled. These reasons are mainly habits formed since the past and require huge transformations to current processes and strategies. Unless Sofia city or Bulgaria does so, pollution is predicted to not improve.

As analysed, the current sources of pollution, coupled with geographical factors of being surrounded by valleys, would eventually emphasize the impact of meteorological conditions on Sofia.

Comments

PHEW! Please provide me your feedback. Thank you!