Deal with Country Data in an Easy Way


[Up] [Top]

Documentation for package ‘countries’ version 1.2.0

Help Pages

auto_melt Automatic pivoting of country and year columns to a long format
auto_merge Simplified merging supporting different country nomenclatures and date formats
check_countries_api Check if the connection to Countries REST API is working
check_wide_format Check for wide country data formats
country_info Get information about countries
country_name Convert and translate country names
country_reference_list Conversion table
country_reference_list_long Conversion table in long format
find_countrycol Finds columns containing country names
find_keycol Find a set of columns that uniquely identifies table entries
find_timecol Finds columns containing date and year data
is_country Tests whether a string is a country name
is_date Test whether the input is a date
is_keycol Test whether a set of column could be a data frame key
list_countries Get a list of country names
list_fields List of accepted fields for the function country_info
match_table Create a conversion table for country names
Mode Statistical mode of a vector
palettes_countries Discrete colour palettes
quick_map Easily visualise country data with a map
random_countries Output random country names
which_max Return location of minimum, maximum and mode values' index
which_min Return location of minimum, maximum and mode values' index
which_mode Return location of minimum, maximum and mode values' index
world World map data