fetch_dataset | R Documentation |
Fetch a dataset from an online source. This function downloads a dataset from a provided URL and saves it to a specified location on the local system. The dataset must be publicly accessible, without requiring any password or authentication. It can then be used for further analysis or modeling.
fetch_dataset(object, link, loc)
object |
A BKT model object. The model can use the fetched dataset for fitting or other tasks. |
link |
Character. The URL where the dataset is located. This must be a publicly accessible URL. |
loc |
Character. The local file path where the dataset will be saved. The dataset will be stored at this location after download. |
None. The function downloads the data file to the specified location.
model <- bkt()
fetch_dataset(model, "http://example.com/dataset.csv", "data.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.