R
Home | R | Python | Stata
All
Coding Smartly
Projects

Speaking R

The R Environment (Downloading R and RStudio; RStudio interface and features; Working directory; Objects)
R commands (Using R as a calculator; Print; R commands; Comments; Packages; Getting help)
Writing R Code (Being reproducible; Organizing code; Syntax; Miscellaneous)

Data Structures

Vectors (Generating sequences; Arithmetic operations; Logical vectors; Operators; Character vectors; Missing values; Indexing; Data types; Attributes)
Data Structures (Factors; Matrices and Arrays; Lists; Data frames)
More on Subsetting (Storing temporary outputs; Modifying object elements; subset(); %in% operator)
Working with JSON Data (JSON objects; JSON arrays; Nested JSON objects; JSON files)

Control Statements and Functions

Flow Control (if; if ... else if; if ... else if ... else; if ... else; Nested if; Vectorized ifelse())
Loops (for loops; Nested loops; while loops; break; next)
Functions ()

video tutorials

Exploring Data

Reading Data (Importing data with RStudio; Reading rectangular text data; Reading data from other software; Reading data of JSON format; Readinhg many compressed JSON files; Working with databases)
A Glimpse of Your Data (Summary statistics; Listing specific cases; Correlations; t-tests; Linear regressions)

Data Manipulation

Data Transformation (Recoding variables; Adding/dropping columns and rows; Renaming variables; Arranging rows; Reordering columns; Grouping; Removing duplicates)
Combining Data Frames (Binding by rows; Merging; Joining)
Aggregating Data (dplyr functions; data.table functions)
Reshaping Data between Long and Wide Formats (spread(); gather(); pivot_wider(); pivot_longer(); dcast(); melt())
Spreading Rows (Filling in values; Replicating rows)
Duplicates (Finding and marking duplicates; Finding the positions of duplicates; Removing duplicates)

Dates and Times

Dates and Times Fundamentals (Data types; Converting dates and times; Creating dates and times; Extracting date-time components; Calculations; Time zones)

Visualization

A Lot of Bars (Stacked bars (count); Stacked bars (percentage); Grouped bars; Lollipop chart)
Grouping in Plotting (Coloring; Facets; Grouped bars; Combining graphs)

Web-interfacing Visualization

Project I: Exploring multiple dimensions of survey data with Shiny app

Project II: Visualizing times and locations with animation and interactivity using tracking logs

Working with SQL in Shiny

Project I: Building a one-stop-shop web app for business intelligence

Project II: Buildng a prototype of a database management system

Recommended Resources