Plot Spatial Data / Shapefiles in R | Gun Violence in Chicago

  Рет қаралды 38,091

math et al

math et al

Күн бұрын

Пікірлер: 28
@lovelyshawnaaa
@lovelyshawnaaa 4 жыл бұрын
This is exactly what I want! The best video I have found so far! Thank you.
@vpgokul4528
@vpgokul4528 3 жыл бұрын
Thank you so much. This was really helpful in getting me started on spatial data plotting.
@rajeevsinha9170
@rajeevsinha9170 3 жыл бұрын
This must have been the fastest 6 mins spent on learning so much and and so well
@maniji5756
@maniji5756 4 жыл бұрын
Thank you for the clear and concise explanation
@JagdishVispute
@JagdishVispute 3 жыл бұрын
Really a good video... I am practically using it right now. Thank You.
@charpunk
@charpunk Жыл бұрын
Thank you so much. You help me a lot! :)
@piriyahassa
@piriyahassa 4 жыл бұрын
Thanks, I think it must be work on my maps!! and this is a gorgeous explains.
@PedrodeUrdyma
@PedrodeUrdyma 3 жыл бұрын
Thank you so much!!!, you saved me!!!
@TheAdamSmithh
@TheAdamSmithh 4 жыл бұрын
eyy i needed this thanks a ton!!!!!!!!!!!
@tirnanforde2250
@tirnanforde2250 3 жыл бұрын
This is fantastic thank you
@chrisber
@chrisber 3 жыл бұрын
This is fantastic work, thank you!
@panochaGremlin
@panochaGremlin 4 жыл бұрын
you are an angel
@RC-hf5gs
@RC-hf5gs 4 жыл бұрын
You’re amazing thank you so much 😭
@Rscapeextreme447
@Rscapeextreme447 3 жыл бұрын
Thats amazing
@jhonbarrios2222
@jhonbarrios2222 4 жыл бұрын
Thank you so much!
@acousticnewcomers
@acousticnewcomers 3 жыл бұрын
Hello, great video, although when I try to add the points to my final plot they don't appear. It worked for plotting the points in the first stage, and the shape file plotted fine. Do you know what might be going wrong?
@DistrictScoot17
@DistrictScoot17 2 жыл бұрын
same here unfortunately, any update on that ? would be very helpful
@zuberali7542
@zuberali7542 Жыл бұрын
Same here, anyone figure it out
@jacksanderson971
@jacksanderson971 Жыл бұрын
​@@zuberali7542 I haven't worked with this exact data but I've ran into a similar problem in the past. The likely issue is that the points and the polygons are using different coordinate reference systems (CRS). I believing running "proj4string([df])" will tell you what CRS the df is using, and if they're different you'd have to do some transformation to get the CRSs to be the same. To be honest though, sp is pretty outdated at this point and I would just recommend using the sf package. It'll let you do this whole thing more intuitively and with fewer lines of code. Here's what it might look like (assuming you already have your points dataframe imported): chicago_shapefile
@user-no9sp1jc1o
@user-no9sp1jc1o 4 жыл бұрын
amazing !!
@zuberali7542
@zuberali7542 Жыл бұрын
Hi I managed to create both the plots and the shape file, but when I bring them together they don't seem to overlay. Any ideas
@ghamandimalla9840
@ghamandimalla9840 2 жыл бұрын
Hi there, how do I count the number of raster pixels that lie within each category of shapefiles in R ? For example, I have land cover type shape file and temperature raster layer. I want to find the number of temperature raster pixels that lie within each category of land cover shape file.
@redtail141
@redtail141 3 жыл бұрын
I am having trouble downloading rgdal it is saying there is no such package
@antoniojck6043
@antoniojck6043 3 жыл бұрын
instead of dots, how I can you add circles of different sizes ? Thanks
@galinha97
@galinha97 4 жыл бұрын
Hi, how can i zoom the map and select just a region?? i need to select part of the map but i dont know how. thank you, and thank your for the help.
@parwana-e-aatish9641
@parwana-e-aatish9641 3 жыл бұрын
Thank you for uploading a wonderful tutorial. I have a query that how we can plot two variables data on single map. Like : ggplot() + geom_sf(data=shape, color='grey20', size=0.1, fill=NA) + geom_sf(data = subset(clus_dzc1, type=='high'),aes(fill=CL2),size=0.1,color='black') + scale_fill_discrete_sequential(palette='Burg',name="High-risk",rev=FALSE, guide = guide_legend(ncol=2)) + theme_void() ggplot() + geom_sf(data=shape, color='grey20', size=0.1, fill=NA) + geom_sf(data = subset(clus_dzc1, type=='low'),aes(fill=CL2), size=0.1, color='black') + scale_fill_discrete_sequential(palette='Blues',name="Low-risk",rev=FALSE, guide = guide_legend(ncol=2)) + theme_void() . There are two plots code. Can you please guide me, how i can convert into one gg plot. Can you please write the code for me. I shall be very thankful to you.
@irenemeniru267
@irenemeniru267 2 жыл бұрын
how did you obtain the communities for each coordinate
@ProfYaffle
@ProfYaffle 3 жыл бұрын
Great video. Horrendous gun crime stats. Pleased I don't live in Chicago
Dot Density Map in R Using Census Data
8:55
math et al
Рет қаралды 2,2 М.
Jared Lander - Using R for GIS and Mapping
20:09
Lander Analytics
Рет қаралды 3,8 М.
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 34 МЛН
Geospatial Data in R - Cropping Data
19:12
weecology
Рет қаралды 7 М.
Choropleth Maps Using Leaflet in R
9:57
math et al
Рет қаралды 13 М.
3D forest height maps with ggplot2 and rayshader in R
59:57
Milos Makes Maps
Рет қаралды 14 М.
GIS 101: Mapping data points in R
18:46
Milos Makes Maps
Рет қаралды 3 М.
FASTEST Way to Learn Modern GIS and ACTUALLY Get a Job
15:12
Matt Forrest
Рет қаралды 107 М.
Lesson 5: Spatial Data Analysis in R
1:06:54
TheTBEP
Рет қаралды 13 М.
Geospatial Data in R - Introduction to Vector Data
15:02
weecology
Рет қаралды 4,4 М.
R tutorial: Creating Maps and mapping data with ggplot2
10:30
Statistics Guides with Prof Paul Christiansen
Рет қаралды 108 М.
Spatial Statistics in R: An Introductory Tutorial with Examples
53:33
Salt Lake City R Users Group
Рет қаралды 17 М.