Reference - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DataSets[Quandl]

  

Reference

  

create a reference to Quandl data

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Reference(id)

DataSets:-Reference("Quandl", id)

Parameters

id

-

string; Quandl identifier for the data set

Description

• 

The Reference command creates a reference to a Quandl data set, and retrieves some metadata about the data available for this data set.

• 

The two calling sequences are exactly equivalent: a call to Reference in the DataSets package interprets its first argument as the name of a data source, and if it is "Quandl", it calls DataSets[Quandl][Reference].

• 

The reference object retrieves the data only when necessary, which is when it is implicitly or explicitly converted to another type.

• 

Retrieved data is cached so that subsequent conversions will be faster.

• 

Reference objects can be created without specifying the Quandl identifier with DataSets[Search] or DataSets[InsertSearchBox].

• 

Quandl reference objects are compatible with any command in the TimeSeriesAnalysis package that makes use of TimeSeries objects.

Examples

withDataSets:

We create a reference by identifier.

refReferenceQuandl,FRED/CANPOPL

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

(1)

This is equivalent to

Quandl:-ReferenceFRED/CANPOPL

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

(2)

GetIdentifierref

FRED/CANPOPL

(3)

convertref,'Matrix'

withTimeSeriesAnalysis:

TimeSeriesPlotref

esmExponentialSmoothingModelref

TimeSeriesAnalysis:-ExponentialSmoothingModelerrors=A,trend=A,seasonal=N,α=0.999874595856735,β=0.21767056094623732,γ=0.,φ=1.,period=1,l0=17.560517881315064,b0=0.34996342676412867,s=0.0,σ=0.06813734732902783,constraints=both

(4)

fcForecastesm,20,output=confidenceintervals95

fcTime seriesVALUE (forecast - 2 percentile), VALUE (forecast - 50 percentile), VALUE (forecast - 98 percentile)20 rows of data:2012-12-30 - 2031-12-30

(5)

TimeSeriesPlotfc,ref

Compatibility

• 

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

• 

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

See Also

DataSets[Reference]