Learn R Programming

IMFData (version 0.2.0)

DataStructureMethod: Get List of Dimension of a Given Dataset

Description

DataStructureMethod get the data structure of dataset with available code and description for each dimension.

Usage

DataStructureMethod(databaseID, checkquery = FALSE)

Arguments

databaseID
string. Database ID of the dataset. Obtained from DataflowMethod.
checkquery
logical. If true, it will check the database ID is available or not.

Value

DataStructureMethod returns a list of data frame to describe available dimensions in the dataset. The name of the list is the dimension name. Each element of the list is a data frame with two columns;CodeValue - dimension code used for CompactDataMethod. CodeText - dimension description.

Examples

Run this code

available.codes <- DataStructureMethod('IFS')
names(available.codes)
available.codes[[1]]#'


Run the code above in your browser using DataLab