ggflags icon indicating copy to clipboard operation
ggflags copied to clipboard

International/Multinational flag

Open seanharrigan opened this issue 11 months ago • 4 comments

We love this package and have used it a lot in health research to indicate where a given study was from. One thing we have run into a lot is that many of our studies are multinational and therefore we cant assign any one flag to it. It would be great to be able to provide one more emoticon for this (e.g. a globe), similar as to what you have added for the European Union flag. We have tried using ggimage and other methods but it doesnt quite work as seamlessly.

Alternitvely, if you know of a way I good get around this that would also be greatly appreciated!

seanharrigan avatar Mar 18 '24 18:03 seanharrigan

Hi @seanharrigan, thanks for the lovely feedback! I'm hoping to switch over to a new flag dataset that I think includes a UN flag (see #31), but I'm a little stuck with them rendering as squares. If I can solve that, there'll be a new version that includes these new flags!

jimjam-slam avatar Mar 18 '24 22:03 jimjam-slam

In the mean time, you could use {rsvg} (the package I plan to use) directly to insert it!

jimjam-slam avatar Mar 18 '24 22:03 jimjam-slam

Thank you so much for your comment. I was able to implement this and it worked quite well. The UN flag would work well, but it may also be great to also have the option for a globe emoticon as well - to avoid any political connotations.

Again, really appreciate your help :) globe-showing-europe-africa

seanharrigan avatar Apr 25 '24 19:04 seanharrigan

I'm glad to hear it! I'm a bit blocked on the new version of ggflags, but I'm thrilled that you were same to make this solution work 😊

jimjam-slam avatar Apr 25 '24 23:04 jimjam-slam