Table of Contents
General Information
This workshop introduces participants to open source tools for geospatial and temporal analysis of vector and raster data. The workshop will emphasize R packages and, to a lesser extent, Python libraries commonly used in GIS. Through lectures and hands-on computer labs, listed in the schedule below, SESYNC staff will aim to accelerate your adoption of computational resources for all phases of data-driven geospatial research.
Participants should expect to:
- learn new scientific computing skills
- overcome specific or conceptual project hurdles
- gain coding confidence
- have fun
Instructors:
- Benoit Parmentier, Data Scientist
- Ian Carroll, Data Scientist
- Mary Shelly, Associate Director for Synthesis
- Kelly Hondula, Quantitative Researcher and Computer Programmer
When:
Monday, April 2, 2018 to Wednesday, April 4, 2018
Where:
1 Park Place, Suite 300
Annapolis, MD 21401
Get directions with OpenStreetMap or Google Maps.
Contact:
Please email with any questions, including installation issues, or for information not covered here.
Requirements
- Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.).
- After the course, participants must complete a reimbursement form to recover allowed travel expenses.
Schedule
Sessions begin promptly at 9:00 am.
Nourishment will arrive at the 10:30 am coffee break, the on-site lunch provided by SESYNC at 12:30 pm, and an afternoon break. Trainees are responsible for their own breakfast and dinner arrangements (we can make recommendations).
Software
Each solftware listed below made some appearance in the workshop or is a generally useful component of the data science tool belt. Maintaining a functioning, up-to-date software environment is a big challenge! Consider this list a work-in-progress; we appreciate your suggestions for surmounting installation difficulties. An alternative to the list below is the Anaconda R/Python Distribution, the big-box store of data science.
For each item, you’ll find a link to a page with installation instructions,
where available, or else to the downloadable installer. Windows users have
little alternative to maintaining each software independently. MacOS users are
encouraged to use Homebrew–the missing package manager for OS X–via the
Terminal: we provide the relevant brew install <pkg>
command, although the
downlink links also provide .dmg installers. The third item is he package name
that might work, for example, with apt-get install <pkg>
on Ubuntu but YMMV.
git
- https://git-scm.com/downloads
brew install git
apt-get install git
R
- https://cran.rstudio.com/
brew install r
orbrew cask install r-app
apt-get install r-base
RStudio (free version)
- https://www.rstudio.com/products/rstudio/download2/
brew cask install rstudio
Python 3.x
- https://www.python.org/downloads/
brew install python3
apt-get install python3
PostgreSQL
- https://www.postgresql.org/download/
brew install postgresql
orbrew cask install postgres
apt-get install postgresql
postGIS
- https://postgis.net/install/
brew install postgis
apt-get install postgis
(ppaubuntugis/ubuntugis-unstable)
R Packages
Install the following R packages after R and Rstudio are installed. Open RStudio
and, for each package below, type install.packages(%package%)
at the prompt
and press return. For information on any package, navigate to
http://cran.r-project.org/package=%package%
. Bold packages are red hot.
tidyr | forecast | readr | ROCR |
dplyr | gstat | modules | rgeos |
leaflet | plyr | rmarkdown | RPostgreSQL |
stringr | lubridate | randomForest | sf |
ggplot2 | mapview | raster | shiny |
data.table | dbplyr | rasterVis | sphet |
lme4 | colorRamps | rgdal | spdep |
xts | zoo | network | caret |
magick | sp |
Python Packages
The following Python packages need to be installed Python. Open a shell/terminal
and, for each package below, run pip3 install %package%
. Bold packages are flying off the shelves!
geopandas | requests | sqlalchemy | pydap |
jupyterlab | numpy | pysal | rasterio |
beautifulsoup4 | pygresql | pandas | |
requests | lxml | matplotlib |
After installing jupyterlab, run jupyter serverextension enable --py jupyterlab
--sys-prefix
in the shell/terminal to complete installation.
JupyterLab runs through
your browser, to launch it, enter jupyter lab
in the shell/terminal, and stop
it with Ctrl-C.
Acknowledgments
Portions of the instructional materials are adopted from Data Carpentry and Software Carpentry. The structure of the curriculum as well as the teaching style are informed by Software Carpentry.