Consolidated waste pickup calendar
Description
This dataset was initiated in 2019 to introduce one of the first apps for Amazon Alexa in Luxembourg. This project aimed to release a real use-case of local services on a voice assistant platform, and we developed a waste pickup calendar.
The first challenge was accessing the raw data; at that time, the only choice was to scrap it from official websites. So we developed a nodejs modular scraping tool that connects to multiple sources, which are to this day:
1. HTML from sidec.lu using cheerio library
2. json from valorlux.lu
3. ICS files from vdl.lu using node-ical library
When scraping is complete, the tool unifies all results into a single format, Normalises pickup types, matches against the CACLR address database and writes 1 json file per postal code in a simple format:
“’
[
{
‘uid’ means: ‘5e8a5f0732fc6’,
“event_date”: ‘1608073200000’,
“city”: ‘Luxembourg’,
‘rental’ means: “Eich Coast”,
“streetNumbers”: “1-25, 2-24”,
‘postal code’: 1450,
“Summary”: “BULKY”
},
{
‘uid’ means: ‘5e8a5f074f2c3’,
“event_date”: ‘1608505200000’,
“city”: ‘Luxembourg’,
‘rental’ means: “Eich Coast”,
“streetNumbers”: “1-25, 2-24”,
‘postal code’: 1450,
“Summary”: “PAPER”
}
]
“’
Note: The dataset does not cover the entire country (yet). Several other websites/sources should be crawled and consolidated to have a complete picture.
Resources
| Name |
Format |
Description |
Link |
|
23 |
|
https://github.com/synapzlu/luxwastecalendar |
|
0 |
|
https://github.com/synapzlu/luxwastecalendar |
Tags
- waste
- dechets
- calendar
- collecte
- calendrier