Hi, I was working with your code to learn how to handle maps in R but I somehow can't get it to open the shapefile with the municipalities map.
When I run
municipalities_spain = readOGR(dsn="Municipios_ETRS89_30N.shp", layer="Municipios_ETRS89_30N")
I get that R "cannot open data source". I've changed the directory and, in my eyes, everything is fine, so I don't know where the mistake is, and much less how to fix it.
I am fairly new to this, so please excuse the vagueness of my question.
Hi, I was working with your code to learn how to handle maps in R but I somehow can't get it to open the shapefile with the municipalities map.
When I run
municipalities_spain = readOGR(dsn="Municipios_ETRS89_30N.shp", layer="Municipios_ETRS89_30N")I get that R "cannot open data source". I've changed the directory and, in my eyes, everything is fine, so I don't know where the mistake is, and much less how to fix it.
I am fairly new to this, so please excuse the vagueness of my question.