YuLab-SMU / scatterpie

:art: scatter pie plot
https://cran.r-project.org/package=scatterpie
60 stars 16 forks source link

Compatability with ggplot2::coord_sf() now that ggplot2::coord_quickmap() is superseded? #42

Open mariaemilyd opened 1 year ago

mariaemilyd commented 1 year ago

Dear Prof Yu,

In your vignette (https://cran.r-project.org/web/packages/scatterpie/vignettes/scatterpie.html) you show the use of geom_scatterpie() with ggplot maps using coord_quickmap(). But that has been superseded by coord_sf() (https://ggplot2.tidyverse.org/reference/ggsf.html), but I haven't been able to make geom_scatterpie work with coord_sf(). Is there a workaround for this, or any plans to extend compatability with plotting of geom_sf() objects in ggplot, or for working with projected maps in ggplot?

Thanks,

Maria