countryInput: Custom Country Select Input

Description Usage Arguments Details Author(s) Examples

View source: R/countryInput.R

Description

Creates a Shiny Select Input with custom label style to select a country from a columns dataset.

Usage

1
countryInput(id, x)

Arguments

id

The input id of the select Input that will get passed on to the apps' server.

x

A column from a dataframe or tibble that contains country names.

Details

The purpose of this function is to provide a quick reference for a common Shiny Shiny Select Input function that appears multiple times in the app's ui.

Author(s)

Panagiotis Stylianos

Examples

1
2
3
4
## Not run: 
countryInput(id = "country_cases", x = coronavirus$country)

## End(Not run)

etc5523-2020/r-package-assessment-petestylianos documentation built on Jan. 1, 2021, 1:12 a.m.