DataSets - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Statistics and Data Analysis : DataSets Package : DataSets/Reference

DataSets

  

Reference

  

create a reference to a data set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Reference(source, id)

Parameters

source

-

string; name of the source, which is one of "Quandl" or "Builtin"

id

-

string; identifier of the data set

Description

• 

The Reference command creates a reference to a data set and retrieves metadata about the data available for the data set. It returns a Reference object.

• 

The corresponding data can then be retrieved by converting the object to a suitable data structure. The data structures supported differ from reference to reference, but Matrix is always supported.

• 

For more information, see the Reference object help pages for data coming from particular data sources (for example, Quandl or Builtin).

Examples

withDataSets:

Create a Quandl data set.

qdataReferenceQuandl,FRED/CANPOPL

qdataData setPopulation in Canada (DISCONTINUED)Quandl FRED/CANPOPLup to 52 rows (annual), 1 column1960-01-01 - 2011-01-01

(1)

Create a Builtin data set.

bdataReferenceBuiltin,Country

bdataCountry (Name)CO2 EmissionsCPI Change?(124 more)AfghanistanTimeSeries 9809.225TimeSeries 4.9759515055383?AlbaniaTimeSeries 5716.853TimeSeries 1.9939281048202?AlgeriaTimeSeries 145400.217TimeSeries 5.5911159096167?????(182 more)

(2)

Convert to a Matrix.

convertqdata,Matrix

(3)

convertbdata1..3,1..3,Matrix

AfghanistanData setCO2 emissions (kt) - AfghanistanQuandl WWDI/AFG_EN_ATM_CO2E_KTup to 65 rows (annual), 1 column1950-12-31 - 2014-12-31Data setInflation, consumer prices (annual %) - AfghanistanQuandl WWDI/AFG_FP_CPI_TOTL_ZGup to 13 rows (annual), 1 column2005-12-31 - 2017-12-31Data setMortality rate, under-5 (per 1,000 live births) - AfghanistanQuandl WWDI/AFG_SH_DYN_MORTup to 58 rows (annual), 1 column1960-12-31 - 2017-12-31AlbaniaData setCO2 emissions (kt) - AlbaniaQuandl WWDI/ALB_EN_ATM_CO2E_KTup to 65 rows (annual), 1 column1950-12-31 - 2014-12-31Data setInflation, consumer prices (annual %) - AlbaniaQuandl WWDI/ALB_FP_CPI_TOTL_ZGup to 26 rows (annual), 1 column1992-12-31 - 2017-12-31Data setMortality rate, under-5 (per 1,000 live births) - AlbaniaQuandl WWDI/ALB_SH_DYN_MORTup to 40 rows (annual), 1 column1978-12-31 - 2017-12-31AlgeriaData setCO2 emissions (kt) - AlgeriaQuandl WWDI/DZA_EN_ATM_CO2E_KTup to 65 rows (annual), 1 column1950-12-31 - 2014-12-31Data setInflation, consumer prices (annual %) - AlgeriaQuandl WWDI/DZA_FP_CPI_TOTL_ZGup to 48 rows (annual), 1 column1970-12-31 - 2017-12-31Data setMortality rate, under-5 (per 1,000 live births) - AlgeriaQuandl WWDI/DZA_SH_DYN_MORTup to 64 rows (annual), 1 column1954-12-31 - 2017-12-31

(4)

Compatibility

• 

The DataSets[Reference] command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

DataSets

DataSets[Builtin][Reference]

DataSets[Quandl][Reference]