Learn R Programming

crunch (version 1.24.0)

loadDataset: Load a Crunch Dataset

Description

Load a Crunch Dataset

Usage

loadDataset(dataset, kind = c("active", "all", "archived"),
  project = NULL, refresh = FALSE)

Arguments

dataset

character, the name of a Crunch dataset that you have access to, or a DatasetTuple.

kind

character specifying whether to look in active, archived, or all datasets. Default is "active", i.e. non-archived.

project

CrunchProject entity, character name of a project, or NULL, the default. If a Project entity or reference is supplied, the function will display datasets from that Project's datasets. If NULL, the primary dataset catalog for the user will be used.

refresh

logical: should the function check the Crunch API for new datasets? Default is FALSE.

Value

An object of class CrunchDataset

Examples

Run this code
# NOT RUN {
dsName <- listDatasets()[1]
ds <- loadDatasets(dsName)
# }

Run the code above in your browser using DataLab