Skip to content

Instantly share code, notes, and snippets.

@andrewbtran
Created July 14, 2018 14:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
---
title: "Chunk 2"
output: html_document
---
```{r loading, warning=F, message=F}
# load packages
library(tidyverse)
# Loading the Boston city payroll
payroll <- read_csv("data/bostonpayroll2013.csv")
```
Let's look at the data in R Markdown with a new package called [`DT`](https://rstudio.github.io/DT/) that uses the Datatables [jquery library](https://datatables.net/).
```{r display_data, warning=F}
library(DT)
datatable(payroll)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment