wfs_api | R Documentation |
Requests to various WFS API.
wfs_api(base_url = "http://geo.stat.fi/geoserver/wfs", queries)
base_url |
string Api base url |
queries |
list List of query parameters |
Make a request to the spesific WFS API. The base url is http://geo.stat.fi/geoserver/wfs to which other components defined by the arguments are appended.
This is a low-level function intended to be used by other higher level functions in the package.
Note that GET requests are used using httpcache
meaning that requests
are cached. If you want clear cache, use httpcache::clearCache()
. To turn
the cache off completely, use httpcache::cacheOff()
wfs_api (S3) object with the following attributes:
XML payload.
path provided to get the resonse.
the original response object.
Joona Lehtomäki joona.lehtomaki@iki.fi
wfs_api(base_url = "http://geo.stat.fi/geoserver/wfs",
queries = append(list("service" = "WFS", "version" = "1.0.0"),
list(request = "getFeature",
layer = "tilastointialueet:kunta4500k_2017")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.