map_template: map_template

View source: R/viz_maps.R

map_templateR Documentation

map_template

Description

Cross-sectional map. Uses the stored country_coords data as the base map.

Usage

map_template(df, category_color_labels = "None", category_color_values)

Arguments

df

A dataframe with the following: country, geometry, date, result = factor value

category_color_labels

List of labels that should map to the factor values of the df. Use "None" if no categories.

category_color_values

List of color values for mapping the labels. Needs to have the same length as category_color_labels!


randyyee/SaviR documentation built on Jan. 25, 2025, 10:44 a.m.