Skip to content

Instantly share code, notes, and snippets.

@kissmygritts
Created November 10, 2018 20:15
Show Gist options
  • Save kissmygritts/ecef351759f7835dc5356a1a9a09b1aa to your computer and use it in GitHub Desktop.
Save kissmygritts/ecef351759f7835dc5356a1a9a09b1aa to your computer and use it in GitHub Desktop.
install and download data
install.packages(c('dplyr', 'spData', 'sf', 'raster', 'rgdal', 'rgeos', 'rcartocolor', 'magrittr', 'leaflet'))
file_name <- 'http://naes.unr.edu/shoemaker/teaching/R-Bootcamp/data.zip'
download.file(file_name, destfile = 'data.zip')
unzip(zipfile = 'data.zip', exdir = '.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment