map_template: map_template

Description Usage Arguments

View source: R/viz_maps.R

Description

Cross-sectional map.

Usage

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

Arguments

df

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

world

A dataframe with the following: geometry

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/ITFAnalytics documentation built on Dec. 22, 2021, 12:56 p.m.