Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

ResourceData

ResourceData[resource]
gives the primary content of the specified resource.

ResourceData[resource,elem]
gives element elem of the content of the resource.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (3)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]=
Introduced in 2016
(11.0)