Data
Introduction
The data source used by Chirp is obviously Twitter, the Twitter Search API more precisely, which Chirp calls via the rtweet package.
Search
You can search for tweets by tiping a query in the search bar. Note that it supports boolean operators as well as others specific to Twitter. Note that the Twitter Search API limits the number of tweets you can fetch to 18,000 every 15 minutes.
Examples
Look for tweets using the #brexit hashtag or mentioning Theresa May.
#brexit OR "theresa may"
Look for safe tweets (sensitive content removed) about Trump.
trump filter:safe
You will find more examples in the official documentation
Options
You will find more options by clicking on the button. This will let you specify the number of tweets to fetch. This defaults to 500 but can go as high as 18,000. However, note that you are limited (by the Twitter API) to 18,000 tweets per 15 minute.
The coordinates and radius will allow you to restrict tweets posted from a certain geographical region. Specify the longitude
and latitude
as numerics and the radius
in either kilometer or miles.
On the network screen you will have an additional option: to append the subsequent search to the previously.
Tip
Search for topics not keywords, a sparingly mentioned keyword that does not resonate will not result in an interesting graph but a mess of scattered nodes with barely any edges. Chirp tagline goes:
Visualise Twitter Interactions
The emphasis is on interactions: Twitter users discussing and interacting with one another. This does not necessarily mean "trending" topics will be appropriate as they are, somehow surprisingly, rarely the result of actual conversations that sprung organically.
Load
Alternatively, you can load a previously downloaded dataset, which you can obtain in two different ways.
- Downloaded from the network screen click the button and hit Download data.
- Manually download a dataset using
rtweet::search_tweets
and save the resulting object as a.RData
file.
Note you can select multiple files as well as combine search and files from the network screen.
- Execute your initial search or load your file from the home screen.
- From the resulting network screen click the button.
- From either the Search or the load tab tick the append check box.