ResourceData Wolfram Data Repository »

ResourceData[resource]

gives the primary content of the specified resource.

ResourceData[resource,elem]

gives element elem of the content of the resource.

Details

  • A resource can be specified by name, UUID, or an explicit ResourceObject object.
  • Available content elements are given by ResourceObject[]["ContentElements"].
  • Data in a resource is typically not explicitly retrieved until it is requested.
  • When data for a resource is retrieved, it is usually cached in $LocalBase.

Examples

Basic Examples  (3)

Specify a resource using its name:

In[1]:=
Click for copyable input
Out[1]=

Get the text of the Gettysburg Address from a resource object containing it:

In[1]:=
Click for copyable input
Out[1]=

Find the elements in a resource:

In[1]:=
Click for copyable input
Out[1]=

Retrieve a specific element:

In[2]:=
Click for copyable input
Out[2]=

See Also

ResourceObject  Get  EntityValue

Introduced in 2016
(11.0)