Function Repository Resource:

SymbolExamples

Source Notebook

Create a notebook of all documentation examples for a symbol

Contributed by: Michael Sollami

ResourceFunction["SymbolExamples"][symbol]

creates a notebook with the documentation page examples for symbol.

Details and Options

ResourceFunction["SymbolExamples"] relies on using EntityValue, which requires internet connectivity.
ResourceFunction["SymbolExamples"] is not yet supported in the Wolfram Cloud (since it relies on documentation URLs).

Examples

Basic Examples (2) 

View a notebook containing all the examples from the documentation page for Prime:

In[1]:=
ResourceFunction["SymbolExamples"]["Prime"]
Out[1]=

Show all the examples of MeijerG:

In[2]:=
ResourceFunction["SymbolExamples"]["MeijerG"]
Out[2]=

Properties and Relations (2) 

SymbolExamples gives all examples, not just a sampling:

In[3]:=
Length[Cells[ResourceFunction["SymbolExamples"]["PrimeQ"]]]
Out[3]=

Compare to WolframLanguageData, which gives a sample:

In[4]:=
WolframLanguageData["PrimeQ", "DocumentationExampleInputs"][[All, 2]] // Flatten // Length
Out[4]=

Publisher

Michael Sollami

Version History

  • 1.0.0 – 09 March 2020

Related Resources

License Information