fetchContent | R Documentation |
Fetch data using url by three methods
fetchContent(
url1,
method = "curl",
downloadMethod = "auto",
isJson = TRUE,
retryTimes = 4
)
url1 |
A url string. |
method |
Can be chosen from "download", "curl", "fromJSON". |
downloadMethod |
The same methods from utils::download.file function. |
isJson |
Fetched content is a json file or not. Defaulst: TRUE. |
retryTimes |
retry times. Default:4 |
A json object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.