Open stijnvanhoey opened 6 years ago
Info on the various call parameters and options can be found here: http://download.waterinfo.be/tsmdownload/KiWIS/KiWIS?datasource=0&service=kisters&type=queryServices&request=getrequestinfo
@WillemMaetens is there an update of your previous link, as the link seems to be broken for the moment?
Note to self: http://download.waterinfo.be/tsmdownload/KiWIS/KiWIS?service=kisters&type=queryServices&request=getGroupList&datasource=1&format=html can be used to retrieve the different time series groups.
Full documentation update: http://download.waterinfo.be/tsmdownload/KiWIS/KiWIS?datasource=1&service=kisters&type=queryServices&request=getrequestinfo (matter of adjusting the datasource to 1)
Currently, the return-fields for each of the calls are hard-coded in the package
in
get_variables
:in
get_timeseries_tsid
:and in
get_stations
:together with the defaults
station_latitude
andstation_longitude
.The decision to keep these has been a (deliberated) decision during the implementation based on the available information.
Still, more flexibility for the user (while keeping proper defaults) could improve the workflow. As an example, the API supports the
md_returnfields
:station_cartnorthing
andstation_carteasting
as input as well, returning the coordinates in Lambert 72 instead of the default WGS84. Altough conversion can be done in R as well (see for example this function), the argument usage would simplify the workflow.However, I do not have information or access to the possible arguments (either
custom_attributes
ormd_returnfields
) and the waterinfo documentation does not provide an overview as well. @WillemMaetens, is there such an overview available somewhere?