Skip to content

Instantly share code, notes, and snippets.

@andrewbtran
Created July 14, 2018 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewbtran/8784cf26ad18309a17687d3e416541ed to your computer and use it in GitHub Desktop.
Save andrewbtran/8784cf26ad18309a17687d3e416541ed to your computer and use it in GitHub Desktop.
---
title: "Chunk 3"
output: html_document
---
# Boston employee pay in 2014
```{r loading, warning=F, message=F, echo=F}
# load packages
library(tidyverse)
# Loading the Boston city payroll
payroll <- read_csv("data/bostonpayroll2013.csv")
payroll_total <- select(payroll, NAME, TITLE, DEPARTMENT, TOTAL.EARNINGS)
```
```{r display_data, warning=F, message=F, echo=F}
library(DT)
datatable(payroll_total)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment