Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

airq-dev/airq-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

airq-data

This repository is used to build the Purpleair data for the airq app. Purpleair collects data from thousands of sensors around the world, each with a latitude and longitude; we:

  • Pull this data down from their API;
  • Calculate the geohash of each sensor;
  • Write an entry in a sqlite3 database.

We also build a table containing data about zipcodes, using public data from Geonames. We store the geohash of each zipcode, allowing us to perform a reverse lookup when a user inputs a zipcode: we determine its geohash and then determine the nearby sensors. Then we make an API call to Purpleair to determine the average air quality.

This repository runs a cron once per week to rebuild the database described above and push it to the airq repository.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors