plot_funds_points {PublicWorksFinanceIT}R Documentation

Visualization of point data.

Description

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)

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.

var

character. Specify the variable to visualize.

Value

Return a leaflet object representing an interactive map of centroids of muicipalities.

Author(s)

Lorena Ricciotti

Examples

data(RENDISpoint)
plot_funds_points(RENDISpoint, var = "Finance")
#Plotting the points of each municipality of the Basilicata region using the leaflet function.


[Package PublicWorksFinanceIT version 0.2.0 Index]