▲ 127 r/rprogramming+1 crossposts

Made a free 15-part "R Foundations" video course — every lesson has the code and a run-it-in-your-browser console

I put together a free beginner R course: 15 short video lessons that go from using R as a calculator to data frames, reading a CSV, writing functions, packages, dplyr and the pipe.

What might make it useful vs. the usual videos: each lesson pairs the screencast with the exact code, a downloadable .R script, and a live webR console right on the page — so you can edit and run everything in the browser, nothing to install. All lessons have English subtitles.

The videos are going up on YouTube, and the full course with the interactive consoles is on the site:

- Course: https://rverseanalytics.com/courses/r-foundations.html

- YouTube: https://youtube.com/@rverseanalytics

It's all free and open. Happy to hear feedback on the lessons — and what topics you'd want covered next.

reddit.com
u/Technical_Soup9347 — 11 days ago
▲ 15 r/rprogramming+1 crossposts

I built 12 free R biostatistics cheat sheets (gtsummary, survival, causal inference, mixed models…) — searchable, no signup

email wall):

• gtsummary "Table 1" & regression tables that survive peer review

• Survival analysis (Kaplan–Meier, Cox PH, censoring)

• Causal inference (target trials, DAGs, IPTW, standardization)

• Mixed models, repeated measures, missing data (MICE)

• Power & sample size, effect sizes & reporting, diagnostic accuracy

• Scale development & validation, clinical trial estimands

Each sheet is a one-page landscape PDF with runnable R recipes and reporting checklists. Two also link a downloadable plotting script.

Library (searchable/filterable): https://rverseanalytics.com/cheatsheets

rverseanalytics.com
u/Technical_Soup9347 — 13 days ago

Primary energy consumption rankings, 1990–2023 — feedback on this animated bar chart

I created this animated bar chart to show how the ranking of the world’s 15 largest primary energy consumers changed between 1990 and 2023.

The visualization highlights the substantial increase in China’s primary energy consumption, the long-term position of the United States, and the changing rankings of countries including India, Russia, Japan, Germany, Brazil, and Saudi Arabia.

Data source: Energy Institute, Statistical Review of World Energy
Unit: Terawatt-hours (TWh)
Tools used: R, ggplot2, and gganimate

I would appreciate feedback on the animation speed, label readability, transition smoothness, and whether the changes in country rankings are easy to follow.

More energy data and visualizations:
https://energtx.com/

Disclosure: I created this visualization and maintain the Energtx project.
u/Technical_Soup9347 — 14 days ago
▲ 8 r/CrudeOil+1 crossposts

I built a free global energy data platform with 235,000+ records and 170+ indicators

Hi r/datasets,

I built Energtx, a global energy data platform that standardizes publicly available energy, electricity, emissions, and climate-related datasets.

Current coverage includes:

• 235,000+ structured records

• 170+ indicators

• 106 countries

• Historical data from 1960 to 2025

• CSV, JSON, and XLSX downloads

• Filtering by country, indicator, source, and year

The platform includes data on electricity generation, renewable energy, primary energy consumption, CO₂ emissions, electricity access, nuclear power, carbon pricing, and oil, gas, and coal markets.

The underlying data is compiled from public sources such as the World Bank, Ember, Our World in Data, the Energy Institute, EIA, OECD, IAEA, and Climate TRACE. Source attribution is included with the datasets.

Dataset explorer:

https://energtx.com/datasets

Disclosure: I built and maintain Energtx. The platform is free to browse and does not require registration.

Feedback on the dataset structure, metadata, indicators, and download formats would be useful.

energtx.com
u/Technical_Soup9347 — 14 days ago

Crude oil production trends for the five largest producers, 2005–2025 [OC]

I created this visualization to compare crude oil production trends in the United States, Russia, Saudi Arabia, China, and Canada between 2005 and 2025.

The chart shows the substantial increase in U.S. production, while Russia and Saudi Arabia remained relatively stable. Canada recorded gradual growth, whereas China’s production changed more moderately.

Data source: JODI Oil World Database
Unit: Thousand barrels per day
Tools used: R and ggplot2

Original visualization and project files:
https://github.com/energtx/energtx-infographics/blob/main/png/135_oil_production_trend.png

Project website:
https://energtx.com/

u/Technical_Soup9347 — 14 days ago
▲ 2 r/rprogramming+3 crossposts

I built free, browser-based statistics calculators — verified against R

I run a small R consulting studio and kept rebuilding

the same calculators for clients, so I put them

online for free:

- Sample size & power — uses the exact noncentral-t,

so it matches R's power.t.test to the decimal (most

web calculators use a normal approximation and are

slightly off)

- p-value (t / z / chi-square) and confidence

intervals (mean, plus Wilson for proportions)

- Descriptive stats and Pearson correlation with a

scatter plot

- A "Which statistical test should I use?" decision

Everything runs client-side — no sign-up, no ads,

nothing uploaded. The stats engine (t / chi-square /

noncentral-t distributions, power) is unit-tested

against R (pt/qt/pnorm/pchisq/power.t.test/cor.test),

so results agree.

https://rverseanalytics.com/tools.html

u/Technical_Soup9347 — 6 days ago