Releases: KWB-R/wasserportal
Release v0.3.0: adapted to Wasserportal's new API version
- Fix errors in GitHub actions: use actions from branches
v2
,v3
, not from
master
- Fix errors in tutorial.Rmd
- Fix errors in documentation
- Do not run examples that use parallel processing
get_stations()
: add argumentn_cores
get_wasserportal_stations_table()
: Use new (three letter) variable codesread_wasserportal_raw()
: adapt request to new API version, add argument
api_version
read_wasserportal_raw_gw()
: adapt request to new API version- Clean code, mainly to reduce duplicated duplication and to improve readability
- check for more errors
- use "safe" element selection
- use more helper functions
- use helper functions in vignettes
- improve names
Release v0.2.0
wasserportal (v0.1.1): R Package with Functions for Scraping Data of Wasserportal Berlin
R package for scraping groundwater
data (groundwater level
and quality
) from Wasserportal Berlin. Please note that the support for scraping surface water
monitoring stations is currently very limited!
Bugfix (in v0.1.1)
- get_wasserportal_stations_table() now correctly naming parameter
temperature
(formerly incorrectlylevel
)
Functions:
- get_stations(): returns metadata for all available monitoring stations
- get_wasserportal_masters_data(): get master data for selected
station_ids
- read_wasserportal_raw_gw(): enables the download of
groundwater data
.
Checkout the Tutorial article how to use it for downloading one or multiple
stations at once. - read_wasserportal(): works for
surface water
monitoring stations, but is
outdated, as it is based on an outdated static file with station/variable names
(i.e. only for11
instead of82
stations currently provided!) instead of
relying on new metadata provided online. This will be fixed within the next release. For progress on this issue checkout #21
Workflows:
-
Tutorial article how to download groundwater level and quality data
-
Further Usage by combining previously scraped (see tutorial above) data and performing some analysis:
- Groundwater, e.g. creating a map with GW level trends
- Surface Water, first beta-testing of function for scraping surface water data
- Two workflows (REACH UBA, Norman List) created within the project PROMISCES for assessing prevalence and the spatial distribution of persistent, mobile and toxic (PMT) substances in the Berlin groundwater, based on different PMT lists, i.e. REACH UBA or Norman List.
wasserportal (v0.1.0): R Package with Functions for Scraping Data of Wasserportal Berlin
R package for scraping groundwater
data (groundwater level
and quality
) from Wasserportal Berlin. Please note that the support for scraping surface water
monitoring stations is currently very limited!
Functions:
- get_stations(): returns metadata for all available monitoring stations
- get_wasserportal_masters_data(): get master data for selected
station_ids
- read_wasserportal_raw_gw(): enables the download of
groundwater data
.
Checkout the Tutorial article how to use it for downloading one or multiple
stations at once. - read_wasserportal(): works for
surface water
monitoring stations, but is
outdated, as it is based on an outdated static file with station/variable names
(i.e. only for11
instead of82
stations currently provided!) instead of
relying on new metadata provided online. This will be fixed within the next release. For progress on this issue checkout #21
Workflows:
-
Tutorial article how to download groundwater level and quality data
-
Further Usage by combining previously scraped (see tutorial above) data and performing some analysis:
-
Groundwater, e.g. creating a map with GW level trends
-
Two workflows (REACH UBA, Norman List) created within the project PROMISCES for assessing prevalence and the spatial distribution of persistent, mobile and toxic (PMT) substances in the Berlin groundwater, based on different PMT lists, i.e. REACH UBA or Norman List.
-