Introduction to APIs for Social Scientists
Loading...
Can’t use the file because of accessibility barriers? Contact us with the title of the item, permanent link, and specifics of your accommodation need.
Date
2019-02-01
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Indiana University Workshop in Methods
Permanent Link
Abstract
In recent years, social scientists have increased their efforts to access new datasets from the web or from large databases. An easy way to access such data are Application Programming Interfaces (APIs). This workshop introduces techniques for working with APIs in Python to retrieve data from sources such as Wikipedia or The New York Times. It is intended for researchers who are new to working with APIs, but are familiar with Python or have completed the Introduction to Python workshop.
In this workshop, we will retrieve data from the ProPublica Congress API. If you plan to follow along the code scripts, please take a few minutes to request a personal API key before the workshop. Computers with Python 3 and libraries (requests, json, pandas, matplotlib, bs4, wikipedia) pre-loaded are available in the SSRC on a first-come, first-served basis.
Description
Helge-Johannes Marahrens is a third-year doctoral student in the department of Sociology at Indiana University, working toward a PhD in Sociology and an MS in Applied Statistics. His research interests include cultural consumption, stratification, and computational social science with a particular focus on Natural Language Processing (NLP).
Keywords
Workshop in Methods, research methods, Python
Citation
Journal
DOI
Link(s) to data and video for this item
Rights
Type
Presentation