Executes Tejapi API calls
Tejapi.rest(path, http = c("GET", "PUT", "POST", "DELETE"), postdata = NULL, ...)
Path to api resource.
Type of http request sent.
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.
Tejapi API response.
Set your api_key with Tejapi.api_key function. For instructions on finding your api key go to https://api.tej.com.tw
api_key
Tejapi.api_key
# NOT RUN { Tejapidata = Tejapi.rest(path="datasets/TWN/AIND", http="GET") plot(Tejapidata[,1]) # }
Run the code above in your browser using DataCamp Workspace