gta_plot_map_df: Map geo data to a dataframe with un codes.

View source: R/gta plot map df.R

gta_plot_map_dfR Documentation

Map geo data to a dataframe with un codes.

Description

This function facilitates map creation with ggplot.

Usage

gta_plot_map_df(data = NULL, countries = NULL, values = NULL)

Arguments

data

Specify the dataframe with the relevant columns.

countries

Specify the name of the column containing the countries.

values

Specify the name of the column containing the value for each country.

Author(s)

Global Trade Alert

References

www.globaltradealert.org


global-trade-alert/gtalibrary documentation built on April 26, 2024, 12:38 p.m.