DataSets[Quandl]
Reference
create a reference to Quandl data
Calling Sequence
Parameters
Description
Examples
Compatibility
Reference(id)
DataSets:-Reference("Quandl", id)
id
-
string; Quandl identifier for the data set
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.
with⁡DataSets:
We create a reference by identifier.
ref ≔ Reference⁡Quandl,FRED/CANPOPL
ref≔Data setPopulation in Canada (DISCONTINUED)Quandl FRED/CANPOPLup to 52 rows (annual), 1 column1960-01-01 - 2011-01-01
This is equivalent to
Quandl:-Reference⁡FRED/CANPOPL
Data setPopulation in Canada (DISCONTINUED)Quandl FRED/CANPOPLup to 52 rows (annual), 1 column1960-01-01 - 2011-01-01
GetIdentifier⁡ref
FRED/CANPOPL
convert⁡ref,'Matrix'
with⁡TimeSeriesAnalysis:
TimeSeriesPlot⁡ref
esm ≔ ExponentialSmoothingModel⁡ref
TimeSeriesAnalysis:-ExponentialSmoothingModel⁡errors=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
fc ≔ Forecast⁡esm,20,output=confidenceintervals⁡95
fc≔Time seriesVALUE (forecast - 2 percentile), VALUE (forecast - 50 percentile), VALUE (forecast - 98 percentile)20 rows of data:2012-12-30 - 2031-12-30
TimeSeriesPlot⁡fc,ref
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]
Download Help Document