I am trying to make a map in R and need some help, I have latitude and longitude coordinates of hotels in China and I want to map them but I can't seem to create a map specific to china and wanted to know if there is a way to fit those coordinates in a map specific to china. I have attached the screenshot of the map I got!
shang3<- pd %>% select(price, longi
tude, latitude, minimum_nights, maximum_nights, amenities)
world <- map_data("world")
world
pd_map <- ggplot() +
geom_map(
data = world, map = world,
aes(long, lat, map_id = region),
color = "white", fill = "lightgray", size = 0.1
) +
geom_point(
data = shang3,
aes(longitude, latitude),
alpha = 0.7
)
pd_map