Maps 2 EPID 799C Fall 2017 To code along today:

Slides:



Advertisements
Similar presentations
Using American FactFinder John DeWitt Project Manager Social Science Data Analysis Network Lisa Neidert Data Services Population Studies Center.
Advertisements

Using American FactFinder John DeWitt Project Manager Social Science Data Analysis Network Lisa Neidert Data Services Population Studies Center.
GIS Topics and Applications
19 th Advanced Summer School in Regional Science Overview and more advanced directions with ArcGIS.
Basic GIS Functions and Spatial Stats in
M1G Introduction to Programming 2 4. Enhancing a class:Room.
An introduction to R: get familiar with R Guangxu Liu Bio7932.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
ArcGIS Online Katie Correll Britt. ArcGIS A GIS supports advanced spatial analysis tools.  How many people are located with in a 3 mile radius of this.
Harry Williams, Cartography1 INTRODUCTION TO GIS A Geographic Information System is a combination of software and hardware that can store, manipulate,
How do I use my Ebooks? Nursing 100 Fall So what’s so great about an Ebook? They are inexpensive Environmentally friendly Lighter to carry Offer.
1 Data Dissemination Customer Liaison and Marketing Services Office (CLMSO) Web Adams, GISP Data Dissemination Specialist U.S. Census Bureau New York Regional.
Spatial presentation and analyses of police evidences
Developing the RHESSys / ArcView Integrated Modeling Environment David Tenenbaum Univ. of North Carolina-Chapel Hill.
CMap Version 0.16 Ben Faga. CMap CMap Version 0.16 Bug fixes and code optimizations More intuitive menu system Asynchronous loading of comparative map.
Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620) Dr. David Arctur Research Fellow, Adjunct Faculty University of Texas at Austin.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Spatial Analysis in R 06/09/2016 GUND institute for Ecological Economics University of Vermont Insu Koh Visualization in R.
Web Wizard’s Cool Tools Darlene Fichter Data Library Coordinator, U of S Library.
Jacynthe Touchette, MSI JGH Health Sciences Library
Children & Young People’s Service Procedures
Installing Cygwin from
Template Model Builder-I
ADVANCED: Troubleshooting: Web maps & Joins
Harry Williams, Cartography
Go to Covington County Schools Webpage Click on Forms and Links
R For The SQL Developer Kevin Feasel Manager, Predictive Analytics
Intro to Ethical Hacking
Dreamweaver – Setting up a Site and Page Layouts
Attribute Extraction.
Maps 1 EPID 799C Fall 2017.
Maps 3: Examples in Practice
Data manipulation in R: dplyr
Dplyr I EPID 799C Mon Sep
Ggplot2 I EPID 799C Mon Sep
Enrolling in Classes using Tiger Center
Spatial Data Processing
Dr. Clincy Professor of CS
Installing and Using MARIE
Preliminaries: -- vector, raster, shapefiles, feature classes.
Using QGIS, GRASS and PostGIS to answer some difficult questions
Cartograms Earl Duncan 29 March 2018.
This is an ending page..
WICS - Flappy Anteater Python Tutorial
Intro to Ethical Hacking
Installing and Using MARIE
This is where R scripts will load
Maps 2 Spatial Analysis & Examples
Installing Packages Introduction to R, Part II
Maps 1 EPID 799C Fall 2018.
Estimation, Revision Control, Rose, and More?
Monster.com: An Introduction
Learn R! GIS.
Installing and Using MARIE
If you have not already installed OpenSCAD please do it now!
Windows Installation Tutorial
Generalized Linear Models (GLM) in R: Part 2
Dplyr Tidyr & R Markdown
This is where R scripts will load
This is where R scripts will load
Lesson Prime Factorization Page 486
TransCAD User’s Guide 2019/5/21.
R for Epi Workshop Module 2: Data Manipulation & Summary Statistics
Ungraded quiz Unit 7.
Fall 2018 Research Workshop Cindy Traub, PhD
Two Geospatial Data Your Library that You Need to Know
Outline Announcements: Version control with CVS HW II due today!
Spark with R Martijn Tennekes
Presentation transcript:

Maps 2 EPID 799C Fall 2017 To code along today: Have a county dataframe with FIPS Download Install packages galore: sp, rgdal, rgeos, tmap,

Today: Maps in R Quick Review Getting spatial data Read / write Merge Vis packages Data structures (sp/sf) Basic spatial operations Example map projects

Review from last time Types: Point, Line, Poly, Raster Shapefile structure QGIS Basics

Getting spatial data Tiger Files: https://www.census.gov/geo/maps- data/data/tiger-line.html NC One Map http://data.nconemap.gov/geoportal/catalog/main /home.page Geocode your own

Read/write ReadOGR writeOGR

Merge Exactly the same as spatial! (Thanks, overloading) new_df = merge(df1, df2) # by=… and all.x/all.y= parameters Important! 1. Do not merge the data by itself. I have done this. 2. Also: joining data can be a pain

Viz Packages base::plot() sp::spplot() ggplot tmap

Side note: There’s a new structure in town! Simple features (sf) spec – just a dataframe! The spatial information is stored as another “variable’ Not quite as efficient in some ways, but easier to work with. Can eventually overload dplyr functions. See cran page and many vignettes

Basic Spatial Operations spTransform() http://www.epsg.org/ , cheat sheet, spatial reference list gCentroid() gRelates() DE-9IM matrix gTouches() ^simple version of above aggregate() (spatial) gBuffer() over() and %over%  workhorse. (SE example here) gDist() spSample … and many more

Let’s Try! Prepare your county tbl

Map Project Examples Title VI complaint Flood plain mapping Alcohol exposure index Linking police killing Police traffic stops / police