This function pulls and return a table called 'DATASET' from the database.
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.
Returns
A data.table with information about the available datasets in the database.
Details
The 'DATASET' table gives information about the different datasets read into the database from various sources. It provides a unique id for each dataset, the frequency of data, the minimum and maximum time coverage, when the dataset was last updated, a description, the source (matching the 'Source' column in the 'DATASOURCE' table), and an (optional) url providing direct access to the raw data.