Mostly Counting

A collection of posts on Data Science, Statistics, R, and Python

This blog is part of R-bloggers.com

Using a Data Dictionary to Recode Columns with dplyr

This blog post provides an in-depth tutorial on using dplyr to recode and rename multiple columns across several datasets according to a data dictionary.

Static and Dynamic Web Scraping with R

This blog post provides an instructive guide to web scraping in R, starting with basic techniques and advancing to complex tasks. It covers scraping static and dynamic websites, string manipulation and recursive functions.

Mastering the Many Models Approach

This blog post reviews the original Many Models Approach, updates it using the current tidyverse syntax, and expands upon the original approach by introducing new building blocks and helper functions.

Introducing: {hugodownplus} 📦

This blog post showcases the three main features of the new {hugodownplus} package: a table of content, expandable HTML boxes, and a session info box.

The ultimate guide to ordering rows in R

This blog post shows how to order rows in a dataframe using four different approaches: base R, data.table, dplyr, and python’s pandas.

Partially renaming columns using a lookup table

This blog post shows how to partially rename columns with a lookup table using four different approaches: base R, data.table, dplyr, and pandas.