Description Usage Arguments Value Examples
View source: R/ki_station_list.R
Returns all available stations by default and allows for search terms and other filters.
1 | ki_station_list(hub, search_term, bounding_box, group_id, return_fields)
|
hub |
The KiWIS database you are querying. Either one of the defaults or a URL. See README. |
search_term |
(Optional) A station name to search for. Supports the use of * as a wildcard. Case doesn't matter. |
bounding_box |
(Optional) A bounding box to search withhin for stations. Should be a vector or comma separated string |
group_id |
(Optional) A station group id (see ki_group_list). with the following format: (min_x, min_y, max_x, max_y). |
return_fields |
(Optional) Specific fields to return. Consult your KiWIS hub services documentation for available options. Should be a comma separate string or a vector. |
Tibble containing station metdata.
1 2 3 4 5 6 7 | ## Not run:
ki_station_list(hub = "swmc")
ki_station_list(hub = "swmc", search_term = "A*")
ki_station_list(hub = "swmc", bounding_box = "-131.7,-5.4,135.8,75.8")
ki_station_list(hub = "swmc", group_id = "518247")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.