wasserportal
R Package with Functions for Scraping Data of Wasserportal Berlin
A Berlin groundwater scraper grew a full IoT publishing pipeline in two days.
◆Recent moves
- 1mo ago
Self-hosted ThingsBoard support via JWT login
The two-day-old ThingsBoard integration gets generalised: tb_login() adds username/password JWT authentication across the tenant-API helpers so self-hosted Community Edition works, and the push scales from a five-station demo to the whole groundwater archive. Retries on 5xx and a warning for half-configured credentials are the marks of a path that has been run in anger.
View source ↗ - 1mo ago
ThingsBoard integration turns the scraper into a pipeline
⚡ SPARKThe release that changes what the package is for. Four years of read-only scraping gains a write side — telemetry push, device management, a shipped dashboard and scheduled automation — and 0.7.0 two days later exists only to generalise it.
View source ↗ - 3mo ago
windows-1252 decoding fixes umlaut handling on Windows
A real correctness fix underneath a CI refresh: the portal declares UTF-8 but serves Latin-1 bytes, which left umlauts mis-marked and broke character substitution on Windows R. Table extraction moves to xml2 directly to sidestep locale-sensitive trimming. The rest is Actions modernisation ahead of a Node 20 deprecation.
View source ↗ - 3y ago
Export and import functions for scraped datasets
Round-trip persistence for scraped groundwater and surface water datasets, so results survive between sessions. An early step toward the pipeline framing that the ThingsBoard work completes three years later.
View source ↗ - 3y ago
Adapted to Wasserportal's new API version
The portal changed its API and its variable codes to three letters; the package followed, adding an api_version argument and an n_cores option, plus a readability pass over duplicated code. The recurring cost of building on someone else's public portal.
View source ↗ - 4y ago
Temperature parameter naming corrected
A one-line bugfix over 0.1.0 correcting a mislabeled temperature parameter in the stations table; the rest of the note restates the package's existing function set. Surface water support is already flagged as limited here, and stays that way.
View source ↗