lflt_choropleth_Gcd: choropleth chart Gcd

View source: R/choropleth_GcdNum.R

lflt_choropleth_GcdR Documentation

choropleth chart Gcd

Description

lflt_choropleth_Gcd() Create a Leaflet choropleth map based on a particular data type. In this case, you can load data with only one column, where it's a geocode column, or make sure that the first column of your data meet this condition

Usage

lflt_choropleth_Gcd(data = NULL, ...)

Ftype

Gcd

Examples

data <- sample_data("Gcd-Num", n = 30)
lflt_choropleth_Gcd(data)

# Activate data labels
lflt_choropleth_Gcd(data)

# if you want to calculate the average instead of the sum, you can use agg inside a function
lflt_choropleth_Gcd(data,
                       agg = "mean")


randommonkey/lfltmagic documentation built on Feb. 19, 2023, 3:53 a.m.