ExampleData¶
ExampleData serves the datasets bundled with Woxi. ExampleData[] lists the
available types.
ExampleData["type"] lists the entries of that type, each a {type, name}
pair ready to be passed straight back in.
ExampleData[{"type", "name"}] is the data itself — for a network, a Graph.
A second argument selects one property instead.
The data itself is a real Graph, so the graph functions work on it:
A name that is not in the catalogue at all 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}]
A catalogued dataset Woxi does not bundle stays unevaluated rather than returning something made up.