Reference - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

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 must be "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, Builtin).

Examples

withDataSets:

Create a Builtin data set.

bdataReferenceBuiltin,Country

bdataCountry (Name)Currency Code2 Letter Country Code(57 more)AfghanistanAFNAFAlbaniaALLALAlgeriaDZDDZ(182 more)

(1)

Convert to a Matrix.

convertbdata1..3,1..3,Matrix

AfghanistanAFNAFafAlbaniaALLALalAlgeriaDZDDZdz

(2)

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]

 


Download Help Document