Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
codingsocialscience
/
code-examples
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
5 Commits
5 Commits
chapter11_binary.py
chapter11_binary.py
chapter11_binary.r
chapter11_binary.r
chapter11_csv.py
chapter11_csv.py
chapter11_data.json.pdf
chapter11_data.json.pdf
chapter11_database_table.pdf
chapter11_database_table.pdf
chapter11_dataframes.py
chapter11_dataframes.py
chapter11_dataframes.r
chapter11_dataframes.r
chapter11_examplecom.html.pdf
chapter11_examplecom.html.pdf
chapter11_galincula.html.pdf
chapter11_galincula.html.pdf
chapter11_html_parse.pysnip.pdf
chapter11_html_parse.pysnip.pdf
chapter11_html_parse.rsnip.pdf
chapter11_html_parse.rsnip.pdf
chapter11_http_request.py
chapter11_http_request.py
chapter11_http_request.r
chapter11_http_request.r
chapter11_json.py
chapter11_json.py
chapter11_json.r
chapter11_json.r
chapter11_sql.py
chapter11_sql.py
chapter11_sql.r
chapter11_sql.r
chapter11_ukpolice.pdf
chapter11_ukpolice.pdf
chapter2_caligula_age.pdf
chapter2_caligula_age.pdf
chapter2_caligula_age.py
chapter2_caligula_age.py
chapter2_caligula_age.r
chapter2_caligula_age.r
chapter2_calingula_reign.pdf
chapter2_calingula_reign.pdf
chapter2_calingula_reign.py
chapter2_calingula_reign.py
chapter2_calingula_reign.r
chapter2_calingula_reign.r
chapter2_casting.py
chapter2_casting.py
chapter2_casting.r
chapter2_casting.r
chapter2_example.pdf
chapter2_example.pdf
chapter2_example.py
chapter2_example.py
chapter2_example.r
chapter2_example.r
chapter2_for.pdf
chapter2_for.pdf
chapter2_for.py
chapter2_for.py
chapter2_for.r
chapter2_for.r
chapter2_for_copypaste.pdf
chapter2_for_copypaste.pdf
chapter2_if.pdf
chapter2_if.pdf
chapter2_if.pysnip.pdf
chapter2_if.pysnip.pdf
chapter2_if.rsnip.pdf
chapter2_if.rsnip.pdf
chapter2_reading_file.pdf
chapter2_reading_file.pdf
chapter2_reading_file.py
chapter2_reading_file.py
chapter2_reading_file.r
chapter2_reading_file.r
chapter2_roles_flag.pdf
chapter2_roles_flag.pdf
chapter2_roles_follower.pdf
chapter2_roles_follower.pdf
chapter2_roles_gatherer.pdf
chapter2_roles_gatherer.pdf
chapter2_roles_mostwanted.pdf
chapter2_roles_mostwanted.pdf
chapter3_candidate_interaction.pdf
chapter3_candidate_interaction.pdf
chapter3_kmeans.pdf
chapter3_kmeans.pdf
chapter4_degree.pdf
chapter4_degree.pdf
chapter4_path_length.pdf
chapter4_path_length.pdf
chapter4_random_walk.pdf
chapter4_random_walk.pdf
chapter5_degree.pdf
chapter5_degree.pdf
chapter5_degree.py
chapter5_degree.py
chapter5_degree.r
chapter5_degree.r
chapter5_dics_of_list.pdf
chapter5_dics_of_list.pdf
chapter5_dics_of_list_bad.pdf
chapter5_dics_of_list_bad.pdf
chapter5_dictionary_for.pdf
chapter5_dictionary_for.pdf
chapter5_dictionary_for.py
chapter5_dictionary_for.py
chapter5_dictionary_for.r
chapter5_dictionary_for.r
chapter5_highest_value.pdf
chapter5_highest_value.pdf
chapter5_highest_value.py
chapter5_highest_value.py
chapter5_highest_value.r
chapter5_highest_value.r
chapter5_image_comparison_bad.pdf
chapter5_image_comparison_bad.pdf
chapter5_image_comparison_better.pdf
chapter5_image_comparison_better.pdf
chapter5_list_bfs.pdf
chapter5_list_bfs.pdf
chapter5_list_clarify_code.pdf
chapter5_list_clarify_code.pdf
chapter5_list_for.pdf
chapter5_list_for.pdf
chapter5_list_for.py
chapter5_list_for.py
chapter5_list_for.r
chapter5_list_for.r
chapter5_list_of_dics.pdf
chapter5_list_of_dics.pdf
chapter5_list_perform_operation.pdf
chapter5_list_perform_operation.pdf
chapter5_list_unique_word.pdf
chapter5_list_unique_word.pdf
chapter5_mega_gatherer.pdf
chapter5_mega_gatherer.pdf
chapter5_mega_mostwanted.pdf
chapter5_mega_mostwanted.pdf
chapter5_roughlate.pdf
chapter5_roughlate.pdf
chapter5_text_as_list.pdf
chapter5_text_as_list.pdf
chapter5_zipcodes.pdf
chapter5_zipcodes.pdf
chapter6_policy1.pdf
chapter6_policy1.pdf
chapter6_policy2.pdf
chapter6_policy2.pdf
chapter6_running_simulation.pdf
chapter6_running_simulation.pdf
chapter6_schelling.pdf
chapter6_schelling.pdf
chapter6_system_dynamics.pdf
chapter6_system_dynamics.pdf
chapter7_between_subjects.pdf
chapter7_between_subjects.pdf
chapter7_ui.pdf
chapter7_ui.pdf
chapter7_within_subjects.pdf
chapter7_within_subjects.pdf
chapter8_bug1.pdf
chapter8_bug1.pdf
chapter8_bug2.pdf
chapter8_bug2.pdf
chapter8_function_call.pdf
chapter8_function_call.pdf
chapter8_function_call.py
chapter8_function_call.py
chapter8_function_call.r
chapter8_function_call.r
chapter8_function_date_fix.pdf
chapter8_function_date_fix.pdf
chapter8_function_date_fix.py
chapter8_function_date_fix.py
chapter8_function_date_fix.r
chapter8_function_date_fix.r
chapter8_function_dfs.pdf
chapter8_function_dfs.pdf
chapter8_function_fibonancci.pdf
chapter8_function_fibonancci.pdf
chapter8_function_lambda.py
chapter8_function_lambda.py
chapter8_function_lambda.r
chapter8_function_lambda.r
chapter8_function_list_length.pdf
chapter8_function_list_length.pdf
chapter8_function_subgoals.pdf
chapter8_function_subgoals.pdf
chapter8_function_subgoals.py
chapter8_function_subgoals.py
chapter8_function_subgoals.r
chapter8_function_subgoals.r
chapter8_libary_decision_tree.py
chapter8_libary_decision_tree.py
chapter8_library.py
chapter8_library.py
View all files
About
Examples of all codes used in the book.
Activity
Custom properties
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.