Skip to contents

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!