Difference between revisions of "ISSS608 2016-17 T3 Assign SANDHYA VASUDEVA RAO"

From Visual Analytics and Applications
Jump to navigation Jump to search
 
(28 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
</div>
 
</div>
  
{|style="background-color:#1B338F;" width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |
+
{|style="background-color:#800000;" width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |
| style="font-size:100%; solid #000000; background:#2B3856; text-align:center;" width="25%" |  
+
| style="font-size:100%; solid #000000; background:#800000; text-align:center;" width="25%" |  
[[The_Indian_Story| <font color="#FFFFFF">Overview & Data Preparation</font>]]
+
<font color="#FFFFFF">Overview & Data Preparation</font>
  
| style="font-size:100%; solid #1B338F; background:#2B3856; text-align:center;" width="25%" |  
+
| style="font-size:100%; solid #1B338F; background:#800000; text-align:center;" width="25%" |  
[[The_Indian_Story_Poster| <font color="#FFFFFF">Q1</font>]]
+
[[Analysis 1| <font color="#FFFFFF">Q1</font>]]
  
| style="font-size:100%; solid #1B338F; background:#2B3856; text-align:center;" width="25%" |  
+
| style="font-size:100%; solid #1B338F; background:#800000; text-align:center;" width="25%" |  
[[The_Indian_Story_Application| <font color="#FFFFFF">Q2</font>]]
+
[[Analysis 2| <font color="#FFFFFF">Q2</font>]]
  
| style="font-size:100%; solid #1B338F; background:#2B3856; text-align:center;" width="25%" |  
+
| style="font-size:100%; solid #1B338F; background:#800000; text-align:center;" width="25%" |  
[[The_Indian_Story_Report| <font color="#FFFFFF">Q3</font>]]
+
[[Analysis 3| <font color="#FFFFFF">Q3 & Top 3</font>]]
  
 
|}
 
|}
 
<br/>
 
<br/>
 +
<div>
 +
<font size = 4; color="Black"><b>''Background''</b></font>
 +
</div>
 +
Boonsong Lekagul Nature Preserve is currently seeing a decline in the nesting of Rose-crested Blue Pipit, which may be attributed to the traffic going through the preserve or perhaps related to the campers in the birds' habitat. A few patterns have been analyzed using the traffic data collected by the park rangers as a part of their annual report to the local government. The map of the Nature Preserve is as shown below.
 +
 +
[[File:Lekagul_Roadways_labeled_v2.jpg || 400 px]]
  
 +
Visualizations done with Tableau were used to solve the questions that are a part of the challenge. A repeating pattern recognition to describe the daily patterns of life by vehicles traveling through and within the park with descriptions about the vehicles and their spatial activities was one such question. Patterns of life over a long period of time were also analysed, which included the temporal activities of vehicles passing through and within the park over multiple days. In addition to this, unusual patterns were also studied and analysed in detail. Finally, a decision on the top 3 patterns that were primarily suspect to causing such an impact to bird life were listed down.
 
<div>
 
<div>
<font size = 4; color="Black"><b>''Patterns of life for visitors who visited the preserve over multiple days:''</b></font>  
+
<font size = 4; color="Black"><b>''Data Prep''</b></font>  
 
</div>
 
</div>
 +
<div>
 +
== Tools Used==
 +
* JMP for Data cleaning, and transformation.
 +
* Tableau for visualization
 +
* Microsoft Excel for Data cleaning, and transformation.
  
[[File:MultipleDaysBar.png| 700px |left]]
+
== Data prep to plot the coordinates on the Map ==
 +
Create 2 columns on the dataset provided - X and Y. It is given that the grid size is 200*200. Therefore, X and Y will have a combination of 1 to 200 as values.
 +
The next step is to identify X and Y coordinates for gates on the map. The below picture shows the coordinates for each gate-name.
  
A plot of Car-type against Gate name for visitors that visited over multiple days is as shown above.
+
[[File:DataPrep.png || 200 px]]
The plot is similar to the pattern observed for Single day visitors. Not many people have camped even in this category of visitors which is quite unusual.
 
While in case of single day visits, type of cars included all the possible car types - 1,2,2P,3,4,5,and 6, the pattern observed in terms of car-types used by multiple day visitors is different in the sense that, the 4 axle truck, 2 axle bus and 3 axle bus are least popular. Most popular car - type is again the 2 - axle car (or motorcycle). This is quite intuitive as it makes more sense for visitors to come by cars or motorcycles as it is convenient.
 
  
Map of the path traveled by multiple day visitors on May 1st 2015 is as shown below.
+
Load the file with these coordinates mapped in the data file into Tableau.
[[File:SequenceMultipleDaysVisitors - 1.png | 500px | left]]
+
Choose X and Y coordinates as Rows and Columns respectively.
  
Daily patterns can be viewed on the map by selecting the required gate names, day, and car-types which gives Car IDs that meet the filter criteria. There are about 72k visitors that visited the Park just over multiple days.
+
[[File: BeforeBackground.png || 600 px]]
[[File:SeasonalTrendsMultipleDaysVisitors.png | 1000px]]
 
  
<div>
+
Insert background image as the map of the Nature Preserve as shown above by setting the parameters as 0 to 200.
<font size = 4; color="Black"><b>''Unusual Patterns''</b></font>
+
 
</div>
+
[[File: AfterBackground.png || 400 px]]
1) As seen in the above 2 line charts, it can be seen that, June-July-August are the busiest months with the number of visitors hitting the peak. While October-November-December seem to have the lowest. Let us assume that the visitors are coming to see the birds. Birds migrate towards South during Winter ( October-November-December) while migrate towards North during June-July-August. If this were true, then the visitors are coming to the Nature Preserve for a different reason other than bird watching in which case, reduction in the number of birds or birds habitat getting affected is irrelevant to the traffic caused by vehicles in the Nature Preserve. This is applicable both to single day visitors and visitors who visit over multiple days.
+
 
 +
== Data prep to Categorize visitors as Single Day and Multiple Days ==
 +
The entire data was divided into visitors that visited the Nature Preserve just for a day and those that visited over multiple days.
 +
Based on the Timestamp, all the visitors whose start date and end date were the same were categorized as Single day visitors. The rest as Multiple day visitors.
 +
 
 +
Timestamp is sorted and the following formula is applied to see if the start and end date of a Car Id is the same. If yes, then those IDs are Single Day Visitors and the rest of the IDs are Multiple Day Visitors.
  
2) Camping seems to be least popular, while general gates gets crowded especially among multiple day visitors. This is quote strange considering how the general convention is for the multiple day visitors to camp over days and also go around the Nature Preserve in which case vehicles tend to move through general gates and other entrances. If this inference is true, then the pattern is irrelevant to the popular belief of traffic affecting the birds habitat unless the birds nests are closer to general gates rather than the camps themselves.
+
[[File: DataPrep1.png || 400 px ]]
  
<div>
+
Once the Car Ids are identified with 1 - Single day, Else - Multiple day, all the records of the respective IDs are separated for further analysis.
<font size = 4; color="Black"><b>''Top 3 Patterns and Recommendations''</b></font>
+
Some of the Single Day Car IDs are as follows. There are about 98976 Single day visits.
</div>
 
1) In the months of June, July, and August, both single day visitors and multiple visitors see a peak. Especially in the year 2015. 3 axle trucks hit the peak in September. Since these months are also known to be the mating months for the birds, the Preserve should take required measures to curb traffic during these months.
 
 
2) 2 axle car (or motorcycle) is the most popular vehicle visited overall in 2 years. However, these car-types may not cause as much sound as the trucks. Except for the peak season where the number of 2 axle car (or motorcycle) hit the peak, measures to curb trucks and other vehicles need to be considered to protect birds from flying away or reduce in number.
 
  
3) Camping is not popular compared to general gates and other gate types. This indicates that the movement of vehicles is more than parking of vehicles which curbs traffic at least to an extent. This could be a threat to the habitats as more vehicles keep moving around the preserve which might disturb the birds. Therefore, Park authorities need to encourage camping, reduce buses and motorcycles roaming around the place. Nature Preserve can even introduce alternate means of commute inside such as cycling, and setting up walking trails.
+
[[File: SampleSingle.png || 200 px ]]
  
== Comments and Discussions ==
+
Some of the Multiple Day Car IDs are as follows. There are about 72503 Multiple day visits.
[[User:Priyadarshi.2016|Priyadarshi.2016]] ([[User talk:Priyadarshi.2016|talk]]) Hi! Great visualisations on the frequency. It emphasises the 3 axel Truck frequency rise. I think you should enlarge them. Also how did u know September was mating season? I may have missed it. For point 3, had I had my way I would not have any car in the reserve. Roger's recommendation is interesting on having parking lots.
 
  
[[User:Anuthamam.2016|Anuthamam.2016]] ([[User talk:Anuthamam.2016|talk]]) :
+
[[File: SampleMultiple.png || 200 px ]]
Good method of splitting the cars in one day travelers and multiple day travelers. That is something that I wished I had done.
 
Another unique thing I find in your analysis is how you have linked the bird's lifestyle in your analysis and linked it with the happenings in the preserve. That is a tangent that was missed in most of our analysis . For future works you could do a time based analysis drilled down to hours and weekdays[Monday, Tuesday, etc] level. I found those to be useful in my analysis, especially when linked with path via a dashboard
 

Latest revision as of 20:37, 17 July 2017

Waterfalls.gif Boonsong Lekagul Nature Preserve - Mini Challenge 1

Overview & Data Preparation

Q1

Q2

Q3 & Top 3


Background

Boonsong Lekagul Nature Preserve is currently seeing a decline in the nesting of Rose-crested Blue Pipit, which may be attributed to the traffic going through the preserve or perhaps related to the campers in the birds' habitat. A few patterns have been analyzed using the traffic data collected by the park rangers as a part of their annual report to the local government. The map of the Nature Preserve is as shown below.

Lekagul Roadways labeled v2.jpg

Visualizations done with Tableau were used to solve the questions that are a part of the challenge. A repeating pattern recognition to describe the daily patterns of life by vehicles traveling through and within the park with descriptions about the vehicles and their spatial activities was one such question. Patterns of life over a long period of time were also analysed, which included the temporal activities of vehicles passing through and within the park over multiple days. In addition to this, unusual patterns were also studied and analysed in detail. Finally, a decision on the top 3 patterns that were primarily suspect to causing such an impact to bird life were listed down.

Data Prep

Tools Used

  • JMP for Data cleaning, and transformation.
  • Tableau for visualization
  • Microsoft Excel for Data cleaning, and transformation.

Data prep to plot the coordinates on the Map

Create 2 columns on the dataset provided - X and Y. It is given that the grid size is 200*200. Therefore, X and Y will have a combination of 1 to 200 as values. The next step is to identify X and Y coordinates for gates on the map. The below picture shows the coordinates for each gate-name.

DataPrep.png

Load the file with these coordinates mapped in the data file into Tableau. Choose X and Y coordinates as Rows and Columns respectively.

BeforeBackground.png

Insert background image as the map of the Nature Preserve as shown above by setting the parameters as 0 to 200.

AfterBackground.png

Data prep to Categorize visitors as Single Day and Multiple Days

The entire data was divided into visitors that visited the Nature Preserve just for a day and those that visited over multiple days. Based on the Timestamp, all the visitors whose start date and end date were the same were categorized as Single day visitors. The rest as Multiple day visitors.

Timestamp is sorted and the following formula is applied to see if the start and end date of a Car Id is the same. If yes, then those IDs are Single Day Visitors and the rest of the IDs are Multiple Day Visitors.

DataPrep1.png

Once the Car Ids are identified with 1 - Single day, Else - Multiple day, all the records of the respective IDs are separated for further analysis. Some of the Single Day Car IDs are as follows. There are about 98976 Single day visits.

SampleSingle.png

Some of the Multiple Day Car IDs are as follows. There are about 72503 Multiple day visits.

SampleMultiple.png