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

# Online Help

###### All Products    Maple    MapleSim

DataSets

 Search
 find data sets by keyword

 Calling Sequence Search(keyword) Search(keyword, options)

Parameters

 keyword - string to look for options - (optional) keyword options of the form offset = n and/or maxhits = m, where n and m are nonnegative integers

Description

 • The Search command finds data sets and data records by searching for the given keyword.
 • The result is a list of the data reference objects found. What is returned is a sublist of all results for the given keyword. By default, the first 25 elements of the sublist are returned, if there are at least 25 results.
 • If the offset = n option is given, then the first n elements of the results list are skipped. By default, the value of n is 0.
 • If the maxhits = m option is given, then m results are returned, if they are available. By default, the value of m is 25.

Examples

 > $\mathrm{with}\left(\mathrm{DataSets}\right):$

Search for data sets related to imports.

 > $\mathrm{Search}\left("imports",\mathrm{maxhits}=2\right)$
 $\left[\left[\begin{array}{cc}{\mathrm{Country \left(Name\right)}}& {\mathrm{Gross national saving \left(% GDP\right)}}\\ {\mathrm{Afghanistan}}& {\mathrm{undefined}}\\ {\mathrm{Albania}}& {14.1000}\\ {\mathrm{Algeria}}& {45.5000}\\ {⋮}& {⋮}\\ {\mathrm{\left(182 more\right)}}& {}\end{array}\right]{,}\left[\begin{array}{cc}{\mathrm{Country \left(Name\right)}}& {\mathrm{Crude oil - imports}}\\ {\mathrm{Afghanistan}}& {0}\\ {\mathrm{Albania}}& {0}\\ {\mathrm{Algeria}}& {6400.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {⋮}& {⋮}\\ {\mathrm{\left(182 more\right)}}& {}\end{array}\right]\right]$ (1)

The next 3 results are as follows:

 > $\mathrm{Search}\left("imports",'\mathrm{offset}'=2,'\mathrm{maxhits}'=3\right)$
 $\left[\left[\begin{array}{cc}{\mathrm{Country \left(Name\right)}}& {\mathrm{Refined petroleum products - production}}\\ {\mathrm{Afghanistan}}& {0}\\ {\mathrm{Albania}}& {3121.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {\mathrm{Algeria}}& {571400.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {⋮}& {⋮}\\ {\mathrm{\left(182 more\right)}}& {}\end{array}\right]{,}\left[\begin{array}{cc}{\mathrm{Country \left(Name\right)}}& {\mathrm{Refined petroleum products - consumption}}\\ {\mathrm{Afghanistan}}& {4229.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {\mathrm{Albania}}& {38390.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {\mathrm{Algeria}}& {316400.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {⋮}& {⋮}\\ {\mathrm{\left(182 more\right)}}& {}\end{array}\right]{,}\left[\begin{array}{cc}{\mathrm{Country \left(Name\right)}}& {\mathrm{Refined petroleum products - imports}}\\ {\mathrm{Afghanistan}}& {36250.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {\mathrm{Albania}}& {22810.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {\mathrm{Algeria}}& {17270.}{}⟦\frac{{\mathrm{bbl}}}{{d}}⟧\\ {⋮}& {⋮}\\ {\mathrm{\left(182 more\right)}}& {}\end{array}\right]\right]$ (2)

Compatibility

 • The DataSets[Search] command was introduced in Maple 2015.
 • For more information on Maple 2015 changes, see Updates in Maple 2015.

 See Also