Course Outline

Basic Overview of R and R Studio for Government

  • R Overview
  • R Studio Environment Windows
    • Script Editor Window
    • Data Environment
    • Console
    • Plots, Help, and Packages

Working with Data for Government

  • Introduction to Vectors and Matrices (data.frame)
  • Different Types of Variables
    • Numeric, Integer, Factor, etc.
    • Changing Variable Types
    • Importing Data Using R Studio Menu Functions
    • Removing Variables with the ls() Command
  • Creating Variables at the Console Prompt – Single, Vector, Data Frame
  • Naming Vectors and Matrices
  • Head and Tail Commands
  • Introduction to dim, length, and class
  • Command Line Import (Reading .csv and Tab-Delimited .txt Files)
  • Attaching and Detaching Data (Advantages vs data.frame$)
  • Merging Data Using cbind and rbind

Exploratory Data Analysis for Government

  • Summarizing Data
  • Summary Command on Both Vectors and Data Frames
  • Subsetting Data Using Square Brackets
    • Summarizing and Creating New Variables
  • Table and Summary Commands
  • Summary Statistic Commands
    • Mean
    • Median
    • Standard Deviation
    • Variance
    • Count & Frequencies
    • Min & Max
    • Quartiles
    • Percentiles
    • Correlation

Exporting Data for Government

  • Write Table .txt
  • Write to a .csv File

R Workspace Management for Government

  • Concept of Working Directories and Projects (Menu-Driven and Code – setwd())

Introduction to R Scripts for Government

  • Creating R Scripts
  • Saving Scripts
  • Workspace Images

Concepts of Packages for Government

  • Installing Packages
  • Loading Packages into Memory

Plotting Data (Using Standard Default R Plot Command and ggplot2 Package) for Government

  • Bar Charts and Histograms
  • Boxplots
  • Line Charts / Time Series
  • Scatter Plots
  • Stem and Leaf
  • Mosaic
  • Modifying Plots
    • Titles
    • Legends
    • Axis
    • Plot Area
  • Exporting a Plot to a Third-Party Application

Requirements

  • No prior experience with R is required.
  • Basic familiarity with programming or data analysis concepts is beneficial but not mandatory.

Audience

  • Data analysts and statisticians new to R
  • Researchers and academics interested in data manipulation and visualization for government
  • Professionals transitioning into data science roles within the public sector
 7 Hours

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories