available_datasets: list and detail available sars2pack datasets

View source: R/data_catalog.R

available_datasetsR Documentation

list and detail available sars2pack datasets

Description

list and detail available sars2pack datasets

Usage

available_datasets()

dataset_details()

Details

dataset_details: returns a pre-computed set of column names and types, dimensions of the datasets, and for datasets with a date (time course), the min and max dates included in the dataset. Each dataset is an item in the list. See examples for details and for viewing suggestions.

Value

A data.frame in which each row represents an available dataset.

  • name: the short name of the dataset

  • accessor: accessor function

a list, with each dataset as an item

Functions

  • dataset_details:

Examples

res = available_datasets()
res
# and how to use the accessor programmatically
get(res[1,]$accessor)()




dd = dataset_details()
str(dd,list.len=3)
names(dd$datasets)
# evaluated
dd$eval_date



seandavi/sars2pack documentation built on May 13, 2022, 3:41 p.m.