Solutions to several remaining problems of data Map in big data
Big data in the data map of several legacy solutions, I believe that many inexperienced people are helpless, for this reason this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Today, I would like to share with you the legacy problems of three data maps, including those that could not be solved before due to technical constraints, and those that readers complained most about.
The solution to how to present geographic information at different administrative levels on a layout is actually very simple, that is, to achieve the goal by superimposing two layers at different administrative levels.
library(maps)
library("ggplot2")
library("ggthemes")
library("dplyr")
library("maptools")
library("grid")
library("ggimage")
world_map%arrange(group,order)
#Area map at bottom:
ggplot(mymapdata)+
geom_polygon(aes(x=long,y=lat,group=group),fill="grey95",col="black")+
coord_map("polyconic") +
theme_map()
#Surface map of China's provincial administrative divisions:
china_map