Description Usage Arguments Details Value See Also Examples
Executes Tejapi API calls
1 2 | Tejapi.rest(path, http = c("GET", "PUT", "POST", "DELETE"),
postdata = NULL, ...)
|
path |
Path to api resource. |
http |
Type of http request sent. |
postdata |
A character or raw vector that is sent in a body. |
... |
Named values that are interpretted as Tejapi API parameters. Please see https://api.tej.com.tw/documents.html. |
Set your api_key
with Tejapi.api_key
function. For instructions on finding your api key go to https://api.tej.com.tw
Tejapi API response.
1 2 3 4 5 | ## Not run:
Tejapidata = Tejapi.rest(path="datasets/TWN/AIND", http="GET")
plot(Tejapidata[,1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.