Function Repository Resource:

WolframAlphaNotebookDiagnostics

Source Notebook

Collect and display information about Wolfram|Alpha Notebook Edition-style queries

Contributed by: Lou D’Andria

ResourceFunction["WolframAlphaNotebookDiagnostics"]["query"]

gives diagnostic information about running query as a Wolfram|Alpha Notebook query.

ResourceFunction["WolframAlphaNotebookDiagnostics"]["query","prop"]

gives the value of an indiviaual diagnostic propery "prop".

ResourceFunction["WolframAlphaNotebookDiagnostics"]["query",All]

gives an association containing all available diagnostic properties.

Details and Options

Using ResourceFunction["WolframAlphaNotebookDiagnostics"] requires internet connectivity.
ResourceFunction["WolframAlphaNotebookDiagnostics"][assoc] will read and display information from the given association rather than from the user’s system.

Examples

Basic Examples (3) 

Display information related to a Wolfram|Alpha Notebook query:

In[1]:=
ResourceFunction["WolframAlphaNotebookDiagnostics"]["two plus three"]
Out[1]=

Return the value of an individual diagnostic property:

In[2]:=
ResourceFunction[
 "WolframAlphaNotebookDiagnostics"]["two plus four", "TryRealOnly"]
Out[2]=

Return all diagnostic properties as an Association:

In[3]:=
assoc = ResourceFunction["WolframAlphaNotebookDiagnostics"][
   "two plus four", All];
AssociationQ[assoc]
Out[4]=

Scope (1) 

Use the output of WolframAlphaNotebookDiagnostics as input to display the values from the previous output rather than reading new values from the current session:

In[5]:=
result = ResourceFunction["WolframAlphaNotebookDiagnostics"][
   "two plus five"];
In[6]:=
ResourceFunction["WolframAlphaNotebookDiagnostics"][result]
Out[6]=

Publisher

Lou D'Andria

Version History

  • 1.0.0 – 11 March 2020

Related Resources

License Information