Skip to content

Extract deleted tweet & politician data from the Politwoops project

Notifications You must be signed in to change notification settings

kateto/PolitwoopsR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolitwoopsR

[Update 01/16] Good news: the Politwoops project is back! Twitter has reversed its decision and will restore the API access for the purpos of collecting deleted political tweets. For more information, read a NYT article on this.

[Update 08/28/15] Unfortunately, Twitter has shut down the Politwoops project - both in the US and internationally. This package can presently only help you extract historic content.

[Update 04/07/15] If you were brought here by a Dean Richards Twitter bot, read this.

Extract deleted tweet and politician data from the Politwoops project. Politwoops is an international project that tracks politicians on Twitter and records their deleted tweets. The project started in the Netherlands and spread to dozens of other countries. In the US, it is run by the Sunlight Foundation.

The PolitwoopsR package includes functions that extract tweet data from any most Politwoops projects. It also provides a way to scrape politician data from the US Politwoops project.

NOTE: The package has been tested mostly on the US project. I will be updating it to make sure it runs smoothly for other countries, but for now there might be bugs in cases where the URL or json data structure are formed in an unusual way.

To install the package, you need devtools:

install.packages('devtools')
devtools::install_github('kateto/PolitwoopsR')

Some visualizations based on politwoops data are available here.

About

Extract deleted tweet & politician data from the Politwoops project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages