FlagStorage: Built-in Chinese and English names of the flags

View source: R/flag_interface.R

FlagStorageR Documentation

Built-in Chinese and English names of the flags

Description

Provides a standardised list of flag names used by plotCNFlag and related functions. It contains the names of the national flag of the People's Republic of China, several historical flags of the Republic of China, and the party flags of the Communist Party of China and the Kuomintang, in both Chinese and English.

Usage

FlagStorage(lang = c("Chinese", "English"))

Arguments

lang

Character string giving the language of the returned names. Either "Chinese" (default) or "English".

Value

A list of two named character vectors. With lang = "Chinese" the elements hold the Chinese national-flag and political-party names; with lang = "English" they are named National Flags and Political Parties. The strings in each vector correspond one-to-one to the underlying plotting functions.

See Also

plotCNFlag, which matches against these names.

Examples

# Chinese names
FlagStorage()

# English names
FlagStorage(lang = "English")


ggChinaFlag documentation built on July 4, 2026, 9:07 a.m.