Learn R Programming

rdhs (version 0.8.1)

get_downloaded_datasets: Get Downloaded Datasets

Description

Detail the datasets that you have already downloaded

Usage

get_downloaded_datasets()

Arguments

Value

A data.frame of downloaded datasets

Details

Returns a data.frame of the datasets that have been downloaded within this client. This could be useful if you are without an internet connection and wish to know which saved dataset files in your root directory correspond to which dataset

Examples

Run this code
if (FALSE) {
# get the model datasets included with the package
model_datasets <- model_datasets

# download one of them
g <- get_datasets(dataset_filenames = model_datasets$FileName[1])

# these will then be stored so that we know what datasets we have downloaded
d <- get_downloaded_datasets()

# which returns a names list of file paths to the datasets
d[1]
}

Run the code above in your browser using DataLab