Skip to content

Instantly share code, notes, and snippets.

View PirateGrunt's full-sized avatar
💭
coding

Brian Fannin PirateGrunt

💭
coding
View GitHub Profile
library(data.table)
library(dplyr)
library(R.utils)
# JUST MASS
mass <- gunzip("arcos-ma-statewide-itemized.tsv.gz")
mass_opioids <- fread(file = 'arcos-ma-statewide-itemized.tsv')
glimpse(mass_opioids) # 2,574,240 observations
summary(mass_opioids)