codeforberlin / codeforberlin/berliner-badestellen

Add "updated at" information

Open
#2 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
CSS
Stars
10
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Please make transparent **when** the data used in the visualization has been **updated**. A link to the source might be helpful, too. I think it would be suitable to place the date at the bottom of the page as indicated in the following screenshot.

![badestellen](https://cloud.githubusercontent.com/assets/144518/26559824/4d60293a-44b2-11e7-8784-06ac91b97635.png)

# Implementation thoughts

I already had a look at the code and saw that you exclude the water quality data (_data/all.json_) from version control. I saw you have a shell script to download the data. Is there a cron job running on the server to regularly fetch updated data? If so, would it be possible to update a time stamp as well?

The other option I see is to read the "_Aktualisiert:_" field (shown in the following screenshot) from the [data source](https://daten.berlin.de/datensaetze/liste-der-badestellen) and update the website accordingly if it changes.

![listderbadestellen](https://cloud.githubusercontent.com/assets/144518/26560023/9cb6d802-44b3-11e7-8750-2be0a3c6d0d1.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading _data/all.json_ and locate the shell script that downloads the water-quality data; inspect how the visualization page currently gets its data and whether a scheduled fetch exists. Done means the page shows the source's update date and, if supported, a source link at the bottom, with the refresh path documented or verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, shell
Domain
data, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.