View source: R/nsrr_all_files.R
nsrr_all_dataset_files | R Documentation |
NSRR All Dataset files
nsrr_all_dataset_files(dataset, token = nsrr_token(), max_files = Inf)
dataset |
a dataset |
token |
Token for NSRR resources. Found at https://sleepdata.org/token |
max_files |
maximum files to return if not wanting to go through all folders recursively. |
A data.frame
of the data sets and their endpoints
dataset = "shhs"
df = nsrr_all_dataset_files(dataset, max_files = 4)
testthat::expect_lte(nrow(df), 20)
# keep as donttest - takes a long time
## Not run:
df = nsrr_all_dataset_files(dataset)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.