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)
Value
None. The function downloads the data file to the specified location.
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.