sm_datasets {samadb}R Documentation

Retrieve Datasets Table

Description

This function pulls and return a table called 'DATASET' from the database.

Usage

sm_datasets(ordered = TRUE)

Arguments

ordered

logical. TRUE orders the result in the order data was entered into the database, while FALSE returns the result in a random order, to the benefit of faster query execution.

Details

The 'DATASET' table gives information about the different datasets fetched from different providers at regular intervals. It provides a unique id for each dataset, the frequency of data, the number of records (datapoints) in each dataset, the minimum and maximum time coverage, when the dataset was last updated, and information about the data source, provider, and method of data access.

Value

A data.table with information about the available datasets in the database.

See Also

sm_datasources, sm_series, samadb

Examples


sm_datasets()


[Package samadb version 0.3.0 Index]