Wolfram Research

Tweets by @WolframResearch

Source Notebook

Data used in the Wolfram U interactive course “Multiparadigm Data Science”

Details

The following information is available for each tweet in the dataset:
{ID, Text, Date, Hashtags, Location, Username, Name, ProfileImageThumbnail, RetweetCount, FavoriteCount, URL}

Examples

Basic Examples

Retrieve the resource:

In[1]:=
ResourceObject[
ResourceObject["Tweets by @WolframResearch"]]
Out[1]=

Retrieve the default content:

In[2]:=
ResourceData[
ResourceObject["Tweets by @WolframResearch"]]
Out[91]=

Additional Elements

Retrieve user data for the users mentioned in the tweets by WolframResearch:

In[92]:=
ResourceData[ResourceObject[
 "Tweets by @WolframResearch"], "UsersMentionedInWolframTweets"]
Out[93]=

Retrieve locations of the users mentioned in the tweets by WolframResearch (3 random locations):

In[94]:=
RandomSample[
 ResourceData[ResourceObject["Tweets by @WolframResearch"], "LocationsOfUsersMentioned"], 3]
Out[94]=

Retrieve hashtags used by the users mentioned in the tweets by WolframResearch (3 random users):

In[95]:=
RandomSample[
 ResourceData[ResourceObject["Tweets by @WolframResearch"], "HashtagsUsedByMentionedUsers"], 3]
Out[95]=

Retrieve a graph of users mentioning each other (3 random edges):

In[96]:=
RandomSample[
 ResourceData[ResourceObject["Tweets by @WolframResearch"], "UserMentionGraph"], 3]
Out[96]=

Visualizations

Visualize a DateHistogram of tweets by Wolfram research:

In[97]:=
ResourceData[
ResourceObject["Tweets by @WolframResearch"]][
 DateHistogram[#, "Year"] &, "Date"]
Out[111]=

Visualize a WordCloud of other users mentioned in the tweets by WolframResearch:

In[112]:=
ResourceData[
ResourceObject["Tweets by @WolframResearch"]][
 Flatten /* WordCloud, "Usermentions"]
Out[112]=

Visualize the locations of the users mentioned in the tweets by WolframResearch:

In[113]:=
GeoHistogram[
 ResourceData[ResourceObject["Tweets by @WolframResearch"], "LocationsOfUsersMentioned"], PlotLegends -> Automatic]
Out[113]=

Visualize a WordCloud of the hashtags used by these users:

In[114]:=
WordCloud[
 ResourceData[ResourceObject["Tweets by @WolframResearch"], "HashtagsUsedByMentionedUsers"]]
Out[114]=

Analysis

Visualize users mentioning each other in their tweets in a graph:

In[115]:=
SimpleGraph[
 ResourceData[ResourceObject["Tweets by @WolframResearch"], "UserMentionGraph"], VertexLabels -> Placed["Name", Tooltip], GraphLayout -> "RadialEmbedding", ImageSize -> Large]
Out[130]=

Wolfram U, "Tweets by @WolframResearch" from the Wolfram Data Repository (2020) 

Data Resource History

Source Metadata

Publisher Information