nasdaq_data_link.api {NasdaqDataLink} | R Documentation |
Executes Nasdaq Data Link API calls
Description
Executes Nasdaq Data Link API calls
Usage
nasdaq_data_link.api(
path,
http = c("GET", "PUT", "POST", "DELETE"),
postdata = NULL,
...
)
Arguments
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 Nasdaq Data Link API parameters. Please see https://docs.data.nasdaq.com/. |
Details
Set your api_key
with NasdaqDataLink.api_key
function. For instructions on finding your api key go to https://data.nasdaq.com/account/profile
Value
Nasdaq Data Link API response.
See Also
Examples
## Not run:
data_link_data = nasdaq_data_link.api(path="datasets/NSE/OIL", http="GET")
plot(data_link_data[,1])
## End(Not run)
[Package NasdaqDataLink version 1.0.0 Index]