This data is sourced from the New South Wales government. It contains the raw data from hourly air quality measurements. The units of each of the measurements are also available.

Forked from ScraperWiki

Contributors kelvinn

Last run failed with status code 1.

Console output of last run

Traceback (most recent call last): File "/repo/scraper.py", line 66, in <module> main() File "/repo/scraper.py", line 58, in main for row in get_page_rawdata(page): File "/repo/scraper.py", line 20, in get_page_rawdata data = page.cssselect('table.aqi')[0] AttributeError: 'NoneType' object has no attribute 'cssselect'

Data

Downloaded 1 time by MikeRalphson

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (85.7 MB) Use the API

rows 10 / 445422

nitrous_dioxide_1h_average visibility_1h_average particles_PM25_rolling_24h_average region nitrous_dioxide_4h_average particles_PM10_rolling_24h_average suburb ozone_h4_average sulphur_dioxide_1h_average date ozone_1h_hour_average carbon_monoxide_rolling_8h_average
0.4
Sydney East
0.12
27.4
Randwick
2.9
27.4
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.3
0.1
1.4
0.3
Sydney East
0.14
22.5
Rozelle
3.1
22.5
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.2
1.2
Sydney East
0.17
22.4
Lindfield
3.0
22.4
Monday, 13 October 2014, 8 - 9 pm (AEST)
1.8
0.0
1.6
0.3
11.2
Sydney East
0.20
26.5
Chullora
2.1
26.5
Monday, 13 October 2014, 8 - 9 pm (AEST)
1.7
0.0
0.0
10.8
Sydney East
0.15
25.7
Earlwood
2.7
25.7
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.5
0.3
9.4
Sydney North-west
0.18
24.3
Richmond
24.3
Monday, 13 October 2014, 8 - 9 pm (AEST)
1.2
0.5
0.9
Sydney North-west
0.26
24.0
St Marys
3.0
24.0
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.1
0.4
Sydney North-west
0.16
28.3
Vineyard
3.3
28.3
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.4
0.0
1.4
0.1
Sydney North-west
0.22
24.8
Prospect
3.2
24.8
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.2
0.0
0.2
Sydney South-west
0.01
18.1
Bargo
2.4
18.1
Monday, 13 October 2014, 8 - 9 pm (AEST)
2.3
0.0

Statistics

Total run time: 1 day

Total cpu time used: less than 20 seconds

Total disk space used: 85.8 MB

History

  • Manually ran revision efadd3b6 and failed .
    5096 records added, 4424 records removed in the database
  • Manually ran revision efadd3b6 and failed .
  • Manually ran revision efadd3b6 and failed .
  • Manually ran revision efadd3b6 and failed .
  • Forked from ScraperWiki

Scraper code

Python

nsw-aqi-scraper / scraper.py