Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 578 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 578 Bytes

shinyflags

Easily include country flags in your Shiny application.

Installation

shinyflags is not on CRAN yet, you can install it with devtools

devtools::install_github("tutuchan/shinyflags")

Usage

# create the HTML code
flag("FR")

# list all flags
flags_list()

You can run the example demo with:

shiny::runApp(system.file("example.R", package = "shinyflags"))

Acknowledgments

Flags SVG come from the flag-icon-css collection distributed by Panayiotis Lipiridis, many thanks to him.