To main content To navigation

Social Sciences

Automated Web Data Collection with R

When:

12 September - 16 September 2022

School:

Summer and Winter University FUBiS

Institution:

Freie Universität Berlin

City:

Mannheim

Country:

Germany

Language:

English

Credits:

2.0 EC

Fee:

500 EUR

Register for this course

The increasing availability of large amounts of data on the internet enables new lines of research in the social sciences. Although it has become easier to find data online that is relevant to social science research, such as social media content, election results, or organizations' press statements, extracting these data and bringing it into formats ready for downstream analyses can be challenging. Web data collection is thus an essential skill for researchers.

The goal of this course is to enable participants to collect web data and process it in R for their research. Course participants will learn about the characteristics of web data and their use in social science research, how to harvest content from different types of webpages, and how to collect social media data from application programming interfaces (APIs), such as the Twitters API.

We will cover tools and techniques that enable participants to collect web data relevant to their research and focus on two common scenarios in particular: (i) automating the collection of data presented on multiple web pages (e.g., several pages) of both static and dynamic websites (with RSelenium), and (ii) interacting with APIs to, for example, collect social media data or datasets from institutions, companies, and organizations. In addition, we will cover advanced topics such as using web sessions, interacting with HTML forms (e.g., login), managing user agents, error handling, and headless browsing.

The course is hands-on, with daily lectures followed by exercises where participants can practice their newly learned skills.

Course leader

Dr. Theresa Gessler, Dr. Hauke Licht

Target group

Participants will find the course useful if they want to:
- collect larger amounts of web data from APIs or webpages
- learn about best practices in automated web data collection
- improve their existing web scraping skills by deepening their understanding of common web technologies and learning more about the process of developing robust web scrapers

Course aim

By the end of the course participants will:
- Know the most important characteristics of web data, including webpage content and social media data
- Gain an understanding of a variety of scraping scenarios: APIs, static pages, dynamic pages
- Be able to write reproducible and robust code for web scraping tasks
- Be able to parse, clean, and process data collected from the web

Interested?

When:

12 September - 16 September 2022

School:

Summer and Winter University FUBiS

Institution:

Freie Universität Berlin

Language:

English

Credits:

2.0 EC

Fee:

500 EUR, Students

Fee:

750 EUR, Academics

Register for this course

Stay up-to-date about our summer schools!

If you don’t want to miss out on new summer school courses, subscribe to our monthly newsletter.