0

There is a empty space on the map. The data is ivalable for those regions. What could be the Problem?

Empty Space

The data before merge

Geo Data for Germany:

URL <- "https://biogeo.ucdavis.edu/data/gadm3.6/Rsp/gadm36_DEU_1_sp.rds"

germany <- readRDS(url(URL))

germany <- fortify(germany)

df_Karte_ratio %>% 
  ggplot(aes(x = long, y = lat, 
                              group = group, fill = ratio_fl_arzt
                              ))+
  geom_polygon(col = "black") +
  coord_map()+
  facet_grid(~EP01_KJP02_BEIDE03_PSM_04_20)+
  labs(title = "Fälle-Arzt Verhältnis")+
  theme_map()+
  theme(
    legend.position  = "right",
    #legend.direction = "horizontal",
    legend.title = element_blank())+
   scale_fill_continuous_sequential(palette = "BluYl")

Sadly I could not find any information about this issue

  • 2
    Could you please share some reproducible data using `dput`? So we can help you better. – Quinten Dec 12 '22 at 15:30
  • It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input that can be used to test and verify possible solutions. – MrFlick Dec 12 '22 at 15:44
  • Thanks for your response - I just edited the question. – Giorgi Sebiskveradze Jan 10 '23 at 15:20

1 Answers1

0

It sounds like the data for those regions is not available or has not been included in the data frame that is being plotted. This could be due to a variety of reasons, such as incomplete data collection or data that has been intentionally excluded for some reason. In any case, the empty space on the map is likely due to a lack of data for those regions.