Wolfram Research

Function Repository Resource:

RecentResourceFunctions

Source Notebook

Get information about the most recently-released resource functions

Contributed by: Jesse Friedman

ResourceFunction["RecentResourceFunctions"][]

gives a Dataset containing information about the most recently-released resource functions.

ResourceFunction["RecentResourceFunctions"][prop]

returns the property prop of the results.

Details and Options

Possible properties prop in ResourceFunction["RecentResourceFunctions"][prop] include:
"Dataset" dataset including resource function names, release dates, descriptions, URLs, and held ResourceFunction objects
"Associations" Normal form of "Dataset" property
"Functions" list of ResourceFunction objects sorted in descending order by release date
ResourceFunction["RecentResourceFunctions"][] is equivalent to ResourceFunction["RecentResourceFunctions"]["Dataset"].
RecentResourceFunction accepts the following option:
MaxItems All maximum number of results to return
RecentResourceFunction returns the same set of functions as is displayed at the “Recent Functions” page of the Wolfram Function Repository website.

Examples

Basic Examples

Get the most recent resource functions as a Dataset:

In[1]:=
ResourceFunction["RecentResourceFunctions"]["Dataset"]
Out[1]=

Get the most recently-released resource functions as an list:

In[2]:=
Short[ResourceFunction["RecentResourceFunctions"]["Functions"], 10]
Out[2]=

Options

MaxItems

Limit the number of resource functions returned:

In[3]:=
ResourceFunction["RecentResourceFunctions"][MaxItems -> 5]
Out[3]=
In[4]:=
ResourceFunction["RecentResourceFunctions"]["Functions", MaxItems -> 5]
Out[4]=

Possible Issues

The "ResourceFunction" column in the Dataset returned by RecentResourceFunctions["Dataset"] contains held ResourceFunction objects:

In[5]:=
ResourceFunction["RecentResourceFunctions"]["Dataset"][All, "ResourceFunction"][Short]
Out[5]=

These can be converted to full ResourceFunction objects with ReleaseHold:

In[6]:=
ResourceFunction["RecentResourceFunctions"]["Dataset"][ReleaseHold, "ResourceFunction"][Short]
Out[6]=

RecentResourceFunctions["Functions"] returns a list of full ResourceFunction objects:

In[7]:=
ResourceFunction["RecentResourceFunctions"]["Functions"] // Short
Out[7]=

Neat Examples

Create a word cloud in the shape of a letter “f” from the descriptions of the most recently-released resource functions:

In[8]:=
words = ResourceFunction["RecentResourceFunctions"][][
   TextWords /* Flatten /* DeleteStopwords /* ToLowerCase,
   "Description"
   ];
WordCloud[words, ColorNegate@ImageCrop@Rasterize["f", RasterSize -> 400]]
Out[9]=

Create a word cloud from the symbols used in the 20 most recently-released resource functions:

In[10]:=
StringSplit[#, "`"][[-1]] & /@ Flatten[ResourceFunction[
ResourceObject[
Association[
      "Name" -> "ResourceFunctionSymbols", "ShortName" -> "ResourceFunctionSymbols", "UUID" -> "28009a11-98c5-4cf3-8294-76983445ab75", "ResourceType" -> "Function", "Version" -> "1.0.0", "Description" -> "Get a list of the symbols used in the \
definition of a resource function", "RepositoryLocation" -> URL[
        "https://www.wolframcloud.com/objects/resourcesystem/api/1.0"]\
, "SymbolName" -> "FunctionRepository`$\
379bfb4c7e6e4848b7a2c35b988e541f`ResourceFunctionSymbols", "FunctionLocation" -> CloudObject[
        "https://www.wolframcloud.com/objects/d6139e7c-724e-49f7-94bd-\
c446148feef4"]], ResourceSystemBase -> "https://www.wolframcloud.com/objects/\
resourcesystem/api/1.0"]] /@ ResourceFunction["RecentResourceFunctions"]["Functions", MaxItems -> 20]] // WordCloud
Out[10]=

Resource History

Related Resources

License Information