sotkanet.json_query {sotkanet} | R Documentation |
Retrieve Sotkanet Data (json)
Description
Retrieve data in json format from given url.
Usage
sotkanet.json_query(url, user.agent = NULL, simplifyVector = TRUE, ...)
Arguments
url |
Sotkanet JSON url |
user.agent |
"User agent" defined by the user. Default is "rOpenGov/sotkanet" |
simplifyVector |
When ´TRUE´ returns a data.frame object and when ´False´ returns a list instead. |
... |
additional parameters to be passed to test_connection, mainly timeout (in seconds, default is 10) |
Value
a data.frame (simplifyVector = TRUE) or a list (simplifyVector = FALSE)
Author(s)
Maintainer: Leo Lahti leo.lahti@iki.fi, Pyry Kantanen
References
See citation("sotkanet")
[Package sotkanet version 0.10.1 Index]