- See Also
-
Related Guides
- Linguistic Data
- Mathematical Data
- Time Series Processing
- Computation with Structured Datasets
- Time & Event Series Data Sources
- Tabular Data Sources
- Knowledge Representation & Access
- Event Series Processing
- Spatial Point Collections
- Wolfram Resource System
- Wolfram Data Repository
- Spatial Point Processes
- Cultural Data
- Creating & Importing Images
- Neural Network Construction & Properties
- Creating & Importing Signals
- Natural Language Processing
- Speech Computation
- Audio Representation
- Workflows
-
- See Also
-
Related Guides
- Linguistic Data
- Mathematical Data
- Time Series Processing
- Computation with Structured Datasets
- Time & Event Series Data Sources
- Tabular Data Sources
- Knowledge Representation & Access
- Event Series Processing
- Spatial Point Collections
- Wolfram Resource System
- Wolfram Data Repository
- Spatial Point Processes
- Cultural Data
- Creating & Importing Images
- Neural Network Construction & Properties
- Creating & Importing Signals
- Natural Language Processing
- Speech Computation
- Audio Representation
- Workflows
ResourceData[resource]
gives the primary content of the specified resource.
ResourceData[resource,elem]
gives element elem of the content of the resource.
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 and Options
- 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.
- ResourceData supports the following options:
-
ResourceSystemBase $ResourceSystemBase resource system from which to retrieve data ResourceVersion Automatic version of the data to retrieve - With the default ResourceVersion setting Automatic, ResourceData will retrieve locally cached data if available; otherwise, it will retrieve the latest data compatible with the local environment.
Examples
open all close allBasic Examples (3)
Specify a resource using its name:
ResourceData["Gettysburg Address"]//SnippetGet the text of the Gettysburg Address from a resource object containing it:
ResourceData["Gettysburg Address"]//SnippetFind the elements in a resource:
ResourceObject["Sample Data: Guinea Pig Tooth Growth"]["ContentElements"]ResourceData[ResourceObject[Association["Name" -> "Sample Data: Guinea Pig Tooth Growth",
"UUID" -> "2b103233-fbb5-4f3a-b641-23a52392db5f", "ResourceType" -> "DataResource",
"Version" -> "1.0.0", "Description" -> "Data on the length of odontoblasts (teeth ... ity[46.928000000000004,
"Kilobytes"], "ContentElements" -> {"ColumnDescriptions", "ColumnHeadings", "ColumnTypes",
"Content", "DataType", "Dimensions", "Name", "ObservationCount", "RawData", "Source"}],
ResourceSystemBase -> Automatic], "ObservationCount"]Options (2)
ResourceSystemBase (1)
ResourceVersion (1)
ResourceData supports ResourceVersion. Retrieve an old version of data:
ResourceData["Epidemic Data for Novel Coronavirus COVID-19", ResourceVersion -> "1.0.0"][Max, #ConfirmedCases["LastDate"]&]Today -> ResourceData["Epidemic Data for Novel Coronavirus COVID-19", ResourceVersion -> "Latest"][Max, #ConfirmedCases["LastDate"]&]See Also
ResourceObject ResourceSearch Get EntityValue
Function Repository: DataResourceFromDirectory
Related Guides
-
▪
- Linguistic Data ▪
- Mathematical Data ▪
- Time Series Processing ▪
- Computation with Structured Datasets ▪
- Time & Event Series Data Sources ▪
- Tabular Data Sources ▪
- Knowledge Representation & Access ▪
- Event Series Processing ▪
- Spatial Point Collections ▪
- Wolfram Resource System ▪
- Wolfram Data Repository ▪
- Spatial Point Processes ▪
- Cultural Data ▪
- Creating & Importing Images ▪
- Neural Network Construction & Properties ▪
- Creating & Importing Signals ▪
- Natural Language Processing ▪
- Speech Computation ▪
- Audio Representation
Related Workflows
Related Links
Text
Wolfram Research (2016), ResourceData, Wolfram Language function, https://reference.wolfram.com/language/ref/ResourceData.html (updated 2021).
CMS
Wolfram Language. 2016. "ResourceData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ResourceData.html.
APA
Wolfram Language. (2016). ResourceData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ResourceData.html
BibTeX
@misc{reference.wolfram_2026_resourcedata, author="Wolfram Research", title="{ResourceData}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ResourceData.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_resourcedata, organization={Wolfram Research}, title={ResourceData}, year={2021}, url={https://reference.wolfram.com/language/ref/ResourceData.html}, note=[Accessed: 13-June-2026]}