# NOT RUN {
# }
# NOT RUN {
lp <- get_eurostat_geospatial(output_class = "spdf", resolution = "60")
spplot(lp, "STAT_LEVL_")
# or
lp <- get_eurostat_geospatial(output_class = "df", resolution = "60")
ggplot(lp, aes(x=long,y=lat,group=group,fill=STAT_LEVL_),color="white") + geom_polygon()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab