The Federalist Papers

Plaintext for Alexander Hamilton, James Madison, and John Jay's "The Federalist Papers"

(192497 words/1147614 characters)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["The Federalist Papers"]
Out[1]=

View the data:

In[2]:=
TextCases[ResourceData["The Federalist Papers"], "Paragraph"][[10]]
Out[2]=

Visualization

Create a word cloud:

In[3]:=
WordCloud[DeleteStopwords[ResourceData["The Federalist Papers"]]]
Out[3]=

Show the most frequently used verbs:

In[4]:=
BarChart[
 TakeLargest[
   Counts[TextCases[ResourceData["The Federalist Papers"], "Verb"]], 20] // Reverse, BarOrigin -> Left, ChartLabels -> Automatic]
Out[4]=

Wolfram Research, "The Federalist Papers" from the Wolfram Data Repository (2017)   https://doi.org/10.24097/wolfram.55418.data

Data Resource History

Source Metadata

Data Downloads

Publisher Information