Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.
AnnaGerber edited this page Jun 7, 2012 · 9 revisions

A Day in the Life

TODO:

  1. Add datasets:
  • Load state premiers data set into mongo db
  • Get music charts from Billboard or some other source
  • Add additional events from dbpedia
  1. Link to Trove newspaper stories and/or larger version of images
  2. Add caching for dbpedia results to improve performance?
  3. Add other locations (not just capital cities)?

API

Dataset URL URL Parameters Result
National Archives – PhotoSearch http://202.2.94.231:8080/ADITL/Photosearch date (in the format YYYY-MM-DD)
keyword(optional)
application/json (list of all matching photos)
BOM – Temperature Data http://202.2.94.231:8080/ADITL/Temperature date (in the format YYYY-MM-DD)
state (one of: NSW, VIC, QLD, SW, WA, TAS, NT, ACT)
minormax (one of: min or max indicating if you want the maximum or minimum temperature for this day.)
text/plain
Decimal
Rainfall http://202.2.94.231:8080/ADITL/Rainfall date (in the format YYYY-MM-DD)
state(one of: NSW, VIC, QLD, SW, WA, TAS, NT, ACT)
text/plain
Decimal
ABS – Population for States and Territories http://202.2.94.231:8080/ADITL/Population date (in the format YYYY-MM-DD)
state (one of: NSW, VIC, QLD, SW, WA, TAS, NT, ACT, or AUS for all of Australia)
text/plain
Integer
ABS – Consumer Price Index http://202.2.94.231:8080/ADITL/CPI date (in the format YYYY-MM-DD)
state (one of: NSW, VIC, QLD, SW, WA, TAS, NT, ACT, or AUS for all of Australia)
text/plain
Decimal (as a percentage of the current CPI i.e. 0.1 = 10% of current CPI)
ABS – Prime Ministers http://202.2.94.231:8080/ADITL/PrimeMinister date (in the format YYYY-MM-DD) application/json
dbpedia – Local and Time Specific Events http://202.2.94.231:8080/ADITL/Events date (in the format YYYY-MM-DD)
city
application/json

License

A Day in the Life is released under an MIT license:


Copyright (c) 2012 Anna Gerber and Mike Leonard

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Clone this wiki locally