Closed NoelStudentAcc closed 10 months ago
@NoelStudentAcc Hello, I am sorry for replying late. I had a bit of a cold last weekend, but since this morning I am having headache and chills (I suspect fever), so I will probably be absent from class today. For this question " Do I understand correctly that I should create them myself with the variable "geo" and this NUTS-3 system? ", the answer is yes. I thought the link contains long and lat in the shape file and I thought it was possible to extract it. However, I admitted that I did not check that part thoroughly by myself. I would love to give you clear instructions, but I am not feeling well now, so instead for now I will just send you the link that could be helpful, which I found on internet.
1) https://ec.europa.eu/eurostat/de/web/gisco/geodata/reference-data/administrative-units-statistical-units/nuts#nuts21 I think here you can download the geographic data in shape file. If you select Geometrietyp as points, I believe it will give you a longs and lats of spots coordinating NUTS3 regions.
2) https://milospopovic.net/6-ways-to-map-population-with-r.r/ THIS SITE is basically doing what I want to do, so I believe it would be very useful.
3) As far as I searched on internet, it was easier to get a polygon style geographical data than lat and long of NUTS3, so if you keep having trouble, you can just do the choropleth map (filling the shape of regions with colors, could be a bit easier) instead of bubble map. In this case, represent the number of crime per inhabitants with color. (NOT THE TOTAL NUMBER) Below are links that could be helpful for that. [1] http://stavrakoudis.econ.uoi.gr/r-eurostat/drawing-maps-of-europe.html [2] https://milospopovic.net/6-ways-to-map-population-with-r.r/
Sorry for just throwing the bunch of links, If you need more help on this matter I will contact you tomorrow or tonight after I take medicine and a rest and get better.
Sincerely, Yunji
Hi @Yuuunji !
Thank you for your reply. I think that should help me! I'll get back to you if I need any further support.
Thank you very much and above all: get well soon!
Hi @Yuuunji ,
Unfortunately, I am very late and urgently need your help!
To create this bubblemap, I basically need the functions a) geom_polygon() and b) geom_point():
a) For geom_polygon() I can use first: Germany <- map_data("world", region = "Germany")
b) For geom_point() I need coordinates that I should somehow get from "Crime_data_for_Task1.gz" - right? But now I'm not sure how to create these coordinates. Do I understand correctly that I should create them myself with the variable "geo" and this NUTS-3 system? Can you give me a few tips here? What should I download from the website https://gdz.bkg.bund.de/index.php/default/digitale-geodaten/verwaltungsgebiete/nuts-gebiete-1-5-000-000-stand-31-12-nuts5000-31-12.html ?
I would be happy if you could help me a little with my confusion, as I have been trying around for a long time now.
Thanks in advance Noel