Learn R Programming

omock (version 0.4.0)

isMockDatasetDownloaded: Check if a certain dataset is downloaded.

Description

Check if a certain dataset is downloaded.

Usage

isMockDatasetDownloaded(datasetName = "GiBleed", path = mockDatasetsFolder())

Value

Whether the dataset is available or not.

Arguments

datasetName

Name of the mock dataset. See `availableMockDatasets()` for possibilities.

path

Path where to search for the dataset.

Examples

Run this code
# \donttest{
library(omock)

isMockDatasetDownloaded("GiBleed")
downloadMockDataset("GiBleed")
isMockDatasetDownloaded("GiBleed")
# }

Run the code above in your browser using DataLab