ExampleData¶
ExampleData serves Wolfram's catalog of example data. Its content is
generated by Woxi — drawings instead of photographs, synthesized sound,
generated text — but its structure is Wolfram's: the same collections,
entries, property names, and metadata such as sizes, counts and types. The
examples below therefore show metadata only.
ExampleData[] lists the collections.
ExampleData["collection"] lists its entries as {collection, name} pairs,
ready to be passed back in.
ExampleData[{"collection", "name"}, "Properties"] lists the properties of an
entry.
$ wo 'ExampleData[{"Text", "GettysburgAddress"}, "Properties"]'
{Author, FormattedText, FullTitle, Language, Lines, NotebookExpression, String, Title, Words}
Images¶
3D models¶
Audio¶
Text¶
Tables¶
$ wo 'ExampleData[{"Statistics", "FisherIris"}, "ColumnHeadings"]'
{SepalLength, SepalWidth, PetalLength, PetalWidth, Species}
Matrices and networks¶
Messages¶
A name that is not in the catalog is reported.
$ wo 'ExampleData[{"NetworkGraph", "NoSuchNetwork"}]'
ExampleData::notent: "NoSuchNetwork" is not a known entity for the collection "NetworkGraph". Use ExampleData["NetworkGraph"] for a list of entities.
ExampleData[{NetworkGraph, NoSuchNetwork}]
So is a property the entry does not have.
$ wo 'ExampleData[{"TestImage", "Moon"}, "Foo"]'
ExampleData::notpropx: "Foo" is not a known property for {"TestImage", "Moon"}. Use ExampleData[{"TestImage", "Moon"}, "Properties"] for a list of properties.
ExampleData[{TestImage, Moon}, Foo]
Retired entries, such as {"TestImage", "Lena"} and
{"TestImage", "TestPattern"}, are no longer listed but are still served,
with a warning.