datascience+

R & Python tutorials

524articles · 124 authors · 14.2M page views

DataScience+ is a community of data enthusiasts who have shared R and Python tutorials since 2015. Researchers, analysts, engineers and students write about cleaning data, statistics, modeling, visualization and programming. Everything is free to read, and anyone can contribute.

Got an R or Python tutorial in you? Join and start writing →
Dec 6, 2026Converting dplyr code to SQL in R with show_query()LImageLoess · R · ProgrammingLImageLoessRProgramming3 minDec 6, 2026
Dec 5, 2026Passing R variables into a SQL query: DBI params and glue_sql()LImageLoess · R · ProgrammingLImageLoessRProgramming3 minDec 5, 2026
Dec 4, 2026Running SQL queries on a data frame in R with duckdbLImageLoess · R · Data ManagementLImageLoessRData Management2 minDec 4, 2026
Dec 3, 2026Stock market crashes in R: inflation turned an 8-year recovery into 14LImageLoess · R · Visualizing DataLImageLoessRVisualizing Data6 minDec 3, 2026
Nov 30, 2026Sizing a sauna heater with linear regression in RVKImageVasyl Korobkin · R · Regression ModelsVKImageVasyl KorobkinRRegression Models11 minNov 30, 2026
Nov 29, 2026Coefficient of variation in R: when it beats the standard deviationBImageBilal · R · Basic StatisticsBImageBilalRBasic Statistics3 minNov 29, 2026
Nov 19, 2026Quarantine conflicting CSV identifiers before calculating a total in PythonAAImageAyush Anand (Omnistu) · Py · Data ManagementAAImageAyush Anand (Omnistu)PyData Management7 minNov 19, 2026
Nov 16, 2026AI Agent Cost Calculator in Python: 36 Retry Scenarios for Cost per Completed TaskDMImageDaniel Martin · Py · ProgrammingDMImageDaniel MartinPyProgramming6 minNov 16, 2026
Nov 10, 2026Odds ratios vs risk ratios in RLImageLoess · R · Regression ModelsLImageLoessRRegression Models8 minNov 10, 2026
Nov 10, 2026Earthquake waiting times in R: a quiet region is not an overdue oneLImageLoess · R · IntroductionLImageLoessRIntroduction8 minNov 10, 2026
Nov 1, 2026Top-cited scientists in clinical medicine by country: the Stanford–Elsevier top 2% list in RLImageLoess · R · Visualizing DataLImageLoessRVisualizing Data5 minNov 1, 2026
Oct 28, 2026Ten seasons, 13 Category 5 hurricanes: reading NOAA’s HURDAT2 data in RLImageLoess · R · Getting DataLImageLoessRGetting Data6 minOct 28, 2026
Oct 20, 2026From a planning idea to a Python agent: reading Sage’s integration pathEZImageEric ZZ · Py · ProgrammingEZImageEric ZZPyProgramming4 minOct 20, 2026
Oct 20, 2026Overdose deaths by state in R: the West went from the lowest rate to the highestLImageLoess · R · Visualizing DataLImageLoessRVisualizing Data8 minOct 20, 2026
Oct 20, 2026How tie scoring changed our bookmaker leaderboardRMImageRhyan Morice · Py · Basic StatisticsRMImageRhyan MoricePyBasic Statistics5 minOct 20, 2026
Oct 15, 2026Home advantage in international football has halved since the 1980s: a Poisson model in RLImageLoess · R · Advanced ModelingLImageLoessRAdvanced Modeling8 minOct 15, 2026
Oct 13, 2026Seven rows are not a week: rolling sums in pandasKSImageKeith Staggers · Py · Data ManagementKSImageKeith StaggersPyData Management6 minOct 13, 2026
Oct 11, 2026Reweighting a median in R: the US pay gain since 2000LImageLoess · R · Basic StatisticsLImageLoessRBasic Statistics6 minOct 11, 2026
Oct 10, 2026Calculus in R: Derivatives and IntegralsLImageLoess · R · ProgrammingLImageLoessRProgramming12 minOct 10, 2026
Oct 9, 2026Stock-bond correlation in R: since 2022, bonds no longer cushion stocksLImageLoess · R · Basic StatisticsLImageLoessRBasic Statistics9 minOct 9, 2026
Oct 7, 2026Inflation-adjusted home prices in R: record highs in dollars, but not after inflationLImageLoess · R · Data ManagementLImageLoessRData Management6 minOct 7, 2026
Oct 5, 2026Half of CRAN now depends on rlang: counting reverse dependencies in RLImageLoess · R · ProgrammingLImageLoessRProgramming7 minOct 5, 2026
Oct 3, 2026College graduation rates in R: the average college vs. average studentLImageLoess · R · IntroductionLImageLoessRIntroduction7 minOct 3, 2026
Oct 1, 2026Distributed lag regression in R: crude oil costs reach the gas pump within two monthsLImageLoess · R · ProgrammingLImageLoessRProgramming6 minOct 1, 2026
Sep 30, 2026Histogram bin width in R: NYC restaurant inspection scoresLImageLoess · R · IntroductionLImageLoessRIntroduction6 minSep 30, 2026
Showing 25 of 524 articlesShow more →Show 75100all - 524 articles