Skip to content

storypanda/Weather-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Check weather for a public data set of crashes

  • Imagine you have started working at VicRoads Links to an external site. as a data visualisation expert. Your manager shares the following data set with you and asks you to visualise this data set to let VicRoads know what it needs to do to reduce the number (social cost) of crashes.
  • https://vicroadsopendata-vicroadsmaps.opendata.arcgis.com/datasets/74dd92127eea4404b0dad1d7e39bf0e3
  • In order to explore the relationship between accidents and different weather conditions, I tried to retrieve data through weatherapi.com and combine it with this dataset.

Tech Stack

Programming language: Java 8

  • It mainly uses the Apache open source library: HttpClient.
  • Based on the definition of the History API from weatherapi.com.
  • Use thread pools to concurrently execute requests to save time.

How to use

  • After downloading the dataset from VicRoads, preprocess the columns: ACCIDENT_DATE and ACCIDENT_TIME.
  • Modify the filePath in the Main method in CheckWeather.java.

About

Query historical weather based on time and location

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages