Outagamie County recycling route geodata.
This is a WIP, but for now, you can find out when your next recycling day is!
npm install outagamie-county-recycling
import {getNextRecycleDate} from 'outagamie-county-recycling';
let longitude = -88.261194;
let latitude = 44.290477;
let date = getNextRecycleDate([longitude, latitude]);
console.log(date.toString());
// > Mon Sep 07 2015 00:00:00 GMT-0500 (CDT)
Arguments:
point {Array}
- longitude and latitude values.date {Date}
- (optional) defaults to now.
Returns:
Date
- a javascript date object.
To see if your location is supported by this data, check the map.
Contributions are very welcome! To get the most useful and complete data, we need your help.
Route data is stored in data/recycling-routes.geojson
. When adding more routes, make sure the associated calendar event in data/recycling-calendar.ics
is mapped to the route in data/route-to-event.json
.
MIT