Sage Publications

Programming with Python for Social Scientists

Sage Publications

Programming with Python for Social Scientists

Sage Instructors

Instructor: Sage Instructors

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Learn how to structure Python code to support social science research.

  • Gain proficiency in using social media APIs and web scraping for data collection.

  • Master the techniques for decoding and encoding data in various formats like CSV, JSON, and XML.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

June 2026

Assessments

16 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 16 modules in this course

This module introduces the unique intersection of Python 3 programming and social science research, highlighting why Python is particularly suited for social scientists. Learners will explore the motivations behind this course, the limitations of existing resources, and the foundational concepts that will guide their programming journey. By the end, participants will understand the course's aims and how Python can empower their research workflows.

What's included

1 video9 readings1 assignment

This module introduces the foundational concepts of programming within the context of social science research, emphasizing the interplay between technical tools and methodological rigor. Learners will explore how digital data analysis requires sensitivity, critical thinking, and interdisciplinary approaches. The module also highlights the importance of reflexivity and workflow design in conducting robust digital research.

What's included

1 video8 readings1 assignment

This module explores how programming intersects with social justice, emphasizing ethical coding practices and the societal impact of technology. Learners will investigate real-world examples of coding for social change and consider how Python can be used to address systemic biases. The module also introduces foundational ethical considerations for integrating programming into social science research.

What's included

1 video5 readings1 assignment

This module introduces the essentials for beginning Python programming, including installing Python, navigating the Python shell, and using comments to write clear, maintainable code. Learners will gain hands-on experience setting up their coding environment and understanding foundational coding practices.

What's included

1 video3 readings1 assignment

This module introduces foundational Python programming concepts, including variable types, mathematical operations, and conditional logic. Learners will practice manipulating data, performing calculations, and controlling program flow using IF/ELIF/ELSE statements. By the end, you'll be able to write basic Python scripts that make decisions based on logical conditions.

What's included

1 video4 readings1 assignment

This module introduces Python's core data structures—lists, dictionaries, tuples, and strings—emphasizing their methods and practical uses in organizing and manipulating data. Learners will gain hands-on experience with common operations, slicing, and formatting techniques to efficiently manage collections and text in Python programs.

What's included

1 video10 readings1 assignment

This module introduces key Python programming concepts such as functions, variable scope, loops, and list comprehensions. Learners will practice writing and applying these constructs to automate tasks and manipulate data efficiently. Through hands-on exercises, you'll gain practical skills for building more robust and reusable code.

What's included

1 video7 readings1 assignment

This module introduces the fundamentals of creating and managing custom classes in Python. Learners will discover how to construct classes, instantiate objects, and utilize class-based structures for effective data management. Practical examples will help solidify understanding of object-oriented programming concepts.

What's included

1 video3 readings1 assignment

This module introduces practical Python skills such as installing and importing modules, managing code execution timing, and creating user-friendly script interfaces. Learners will also explore best practices for documenting code and scheduling automated tasks. By the end, you'll be able to enhance your Python scripts for greater efficiency and usability.

What's included

1 video10 readings1 assignment

This module guides learners through the structured planning and design of research projects that integrate programming within social science contexts. You will explore practical frameworks, iterative development strategies, and adaptive planning techniques to effectively manage and execute coding-based research. Emphasis is placed on both theoretical considerations and real-world challenges encountered during project implementation.

What's included

1 video3 readings1 assignment

This module introduces the fundamentals of handling text files in Python, including reading, writing, and managing files across directories. Learners will gain practical skills in manipulating file data and understanding string literals for effective data processing. Real-world applications and project ideas are also discussed to contextualize these techniques.

What's included

1 video6 readings1 assignment

This module guides learners through the process of authenticating and connecting to the Twitter API using Python, retrieving social media data, and managing rate limits for scalable data collection. Learners will gain hands-on experience in setting up developer credentials, writing scripts to access and store Twitter data, and understanding the importance of API documentation. By the end, participants will be equipped to build and extend their own social media data collection tools.

What's included

1 video7 readings1 assignment

This module introduces techniques for retrieving, decoding, and encoding data in widely-used formats such as CSV, JSON, and XML. Learners will practice accessing datasets from the web, manipulating them with Python, and extracting meaningful insights relevant to social science research. By the end, you'll be equipped to handle diverse data sources and formats for your own projects.

What's included

1 video10 readings1 assignment

This module introduces learners to the fundamentals of web scraping using Python, focusing on inspecting HTML, extracting data with BeautifulSoup, and cleaning the collected information. Through practical examples, students will gain hands-on experience in retrieving and preparing real-world web data for analysis.

What's included

1 video6 readings1 assignment

This module introduces learners to data manipulation with Pandas and data visualization using Matplotlib in Python. You will practice creating and formatting visual representations of complex datasets, and reflect on the broader implications of how data is presented. By the end, you'll be able to generate, customize, and save insightful visualizations for real-world data analysis.

What's included

1 video8 readings1 assignment

This module wraps up your journey by focusing on best practices for sharing code, documenting your work, and communicating complex programming concepts to diverse audiences. You'll learn how to present your programming projects effectively within the social sciences and foster collaboration through clear documentation and writing.

What's included

1 video3 readings1 assignment

Instructor

Sage Instructors
Sage Publications
12 Courses2 learners

Offered by

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions