IS428 AY2019-20T1 Assign Ronald Lay Data Transformation
Revision as of 22:10, 13 October 2019 by Ronald.lay.2017 (talk | contribs)
Contents
Data used for Mini Challenge 1
- mc1-reports-data.csv
- StHimark.shp
Pivoting for categories
Issue
The categories are represented in columns, which is difficult when performing the filters and charts in tableau.
Solution
Using Tableau prep to perform the pivoting of categories - Medical, Power, Road And Bridges, Sewer & Water and shake intensity - into a column called category and the intensity value is called Reported intensity.
Binning of different intensity level
The raw data contains categorical data represented by number. However, number representation provides an unclear definition of how each value is perceived by the users. To standardize the definition, visual binning is performed by aligning the intensity value with instrumental intensity into a number of distinct categories.
First, we add step to clean the data and click "create calculated field"