Skip to content

Instantly share code, notes, and snippets.

@andrewbtran
Created July 14, 2018 14:11
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/fb45ca115207549ce6d136917bf8d24c to your computer and use it in GitHub Desktop.
Save andrewbtran/fb45ca115207549ce6d136917bf8d24c to your computer and use it in GitHub Desktop.
---
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