listDatasets {crunch} | R Documentation |
Get the names of datasets in a project
Description
listDatasets()
is a convenience function for quickly seeing what datasets
are in a project. It is equivalent to names(datasets(proj))
, with some
additional optional arguments.
Usage
listDatasets(
kind = c("active", "all", "archived"),
project = NULL,
refresh = FALSE,
shiny = FALSE
)
Arguments
kind |
character specifying whether to look in active, archived, or all datasets. Default is "active", i.e. non-archived. |
project |
|
refresh |
logical: should the function check the Crunch API for new datasets? Default is FALSE. |
shiny |
deprecated, no longer works |
Value
A character vector of dataset names, each of which would be a valid
input for loadDataset()
[Package crunch version 1.31.0 Index]