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"].
ResourceFunction["RecentResourceFunctions"] accepts the following option:
MaxItemsAllmaximum number of results to return
ResourceFunction["RecentResourceFunctions"] returns the same set of functions as is displayed at the Recent Functions page of the Wolfram Function Repository website.

Examples

Basic Examples (2) 

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[76]=

Options (1) 

MaxItems (1) 

Limit the number of resource functions returned:

In[77]:=
ResourceFunction["RecentResourceFunctions"][MaxItems -> 5]
Out[77]=
In[78]:=
ResourceFunction["RecentResourceFunctions"]["Functions", MaxItems -> 5]
Out[78]=

Possible Issues (2) 

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

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

These can be converted to full ResourceFunction objects with ReleaseHold:

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

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

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

Neat Examples (2) 

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

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

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

In[484]:=
StringSplit[#, "`"][[-1]] & /@ Flatten[ResourceFunction[
ResourceObject[<|{"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[484]=

Publisher

Jesse Friedman

Version History

  • 1.0.0 – 22 October 2019

Related Resources

License Information