The plot_funds_points function is designed for visualizing maps of centroids for municipalities using point data. The map colors are determined by the financing amount, and the radius of each point is proportional to the corresponding financing amount.
Usage
plot_funds_points(data, var)
Value
Return a leaflet object representing an interactive map of centroids of muicipalities.
Arguments
data
Dataset of class 'data.frame' containing the information about the coordinates of municipalities. Data can be retrieved from all the retrieval functions using the geo_ref = "C" argument.
data(RENDISpoint)
plot_funds_points(RENDISpoint, var = "Finance")
#Plotting the points of each municipality of the Basilicata region using the leaflet function.