fetch_dataset {BKT} | R Documentation |
Fetch a dataset
Description
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.
Usage
fetch_dataset(object, link, loc)
Arguments
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. |
Value
None. The function downloads the data file to the specified location.
Examples
model <- bkt()
fetch_dataset(model, "http://example.com/dataset.csv", "data.csv")
[Package BKT version 0.1.0 Index]