Skip to content
jlhapp edited this page Sep 7, 2016 · 4 revisions

#How to use this repository

  1. This repostiory is intended for new R and GIS users.
  2. Click on a section you are interested in within the Table of Contents to read a description of the scripts. Links to the scripts will be in each section.
  3. If you are a Duke University user, [click here and follow the instructions in the pdf file] 22. You will be able to copy and paste these scipts into your R project and view the results. All other users can view/copy the scripts and replicate with your data.
  4. Use the table of contents below to learn more about a specific topic. Once on another webpage, use the table of contents on the right side of the webpage.

#Table of Contents:

  • learn what a shapefile is
  • how to import a shapefile
  • view a map, clip a shapefile
  • merge two shapefiles together
  • perform joins(both spatial and attribute).
  • import a csv with xy coordinates
  • view in leaflet or in a plot.
  • learn what a raster is
  • import a raster
  • define a color palette for the raster
  • view in leaflet.
  • add various mapping file types to a leaflet.
  • learn the benefits of using GeoJSON files
  • how to add them to leaflet.
  • add basemaps from Leaflet's github webpage.
  • learn the terminology of projections in R
  • set the projections.

8. Shiny

  • brief introduction to a Shiny application with a Leaflet map.
  • links to the raw data sources that are used in this repository.