# ggflags **Repository Path**: tidyfriday/ggflags ## Basic Information - **Project Name**: ggflags - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-06 - **Last Updated**: 2021-03-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ggflags ------- flag geom for ggplot2 ``` r library(ggflags) ``` ## Loading required package: ggplot2 ``` r set.seed(1234) d <- data.frame(x=rnorm(50), y=rnorm(50), country=sample(c("ar","fr", "nz", "gb", "es", "ca"), 50, TRUE), stringsAsFactors = FALSE) ggplot(d, aes(x=x, y=y, country=country, size=x)) + geom_flag() + scale_country() ``` ![](README_files/figure-markdown_github/demo-1.png) The flags are taken from wikipedia via ![](README_files/figure-markdown_github/flags.png) (note: proof of principle only)