whatisgithub

What is workshop?

ujjwalkarn/workshop — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2013-03-25

1RAudience · researcherComplexity · 2/5DormantSetup · moderate

In one sentence

A 2013 NYU workshop's teaching materials for scraping tweets and website data using R, aimed at researchers and journalists new to web scraping.

Mindmap

mindmap
  root((repo))
    What it does
      Teaches web scraping
      Pulls tweets from Twitter
      Extracts website tables
      Toy code examples
    Tech stack
      R
    Use cases
      Scrape election tweets
      Extract financial data from news sites
      Learn scraping basics
    Audience
      Researchers
      Journalists
      Political analysts

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Scrape thousands of tweets about an election for political research analysis.

USE CASE 2

Extract financial tables from multiple news websites instead of copying data by hand.

USE CASE 3

Learn the basics of web scraping in R through simple, beginner-friendly toy examples.

What is it built with?

R

How does it compare?

ujjwalkarn/workshophadley/loggerjacobjameson/tte_cc
Stars110
LanguageRRR
Last pushed2013-03-252024-10-16
MaintenanceDormantStale
Setup difficultymoderateeasymoderate
Complexity2/52/54/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Twitter's API and scraping policies have changed significantly since 2013, so the Twitter examples likely need updating.

So what is it?

This repository is a collection of teaching materials from a workshop on how to gather data from the internet using the programming language R. Specifically, it covers two main skills: pulling tweets and other information directly from Twitter, and extracting data from websites. The repo contains sample code and slides designed to introduce people to web scraping, the practice of automatically collecting information from online sources rather than manually copying and pasting. The code examples are intentionally simple ("toy examples") so they're easier to follow if you're new to this kind of work. They demonstrate both how to connect to Twitter and pull tweets down, and how to grab structured data like tables from web pages, as well as messier, semi-organized content embedded in HTML code. This would be useful for researchers, journalists, or analysts who need to collect large amounts of data from the web for analysis. For instance, a political researcher might want to scrape thousands of tweets about an election, or a journalist might need to extract financial data from multiple news websites. Instead of doing this by hand, these techniques let you write a script that does it automatically, saving hours of tedious work. The workshop was put together for the NYU Politics Data Lab back in 2013, so the materials are oriented toward people in academic or political research contexts. Keep in mind that web scraping tools and APIs change frequently, and Twitter's policies around data collection have shifted significantly since then, so some of the specific code may need updating if you're trying to use it today.

Copy-paste prompts

Prompt 1
Walk me through this R code for pulling tweets and adapt it to work with today's Twitter API.
Prompt 2
Show me how to use the web-scraping examples here to extract a table from a news website.
Prompt 3
Explain the difference between the Twitter-scraping and website-scraping examples in this workshop.

Frequently asked questions

What is workshop?

A 2013 NYU workshop's teaching materials for scraping tweets and website data using R, aimed at researchers and journalists new to web scraping.

What language is workshop written in?

Mainly R. The stack also includes R.

Is workshop actively maintained?

Dormant — no commits in 2+ years (last push 2013-03-25).

How hard is workshop to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is workshop for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.