plot_prop_NA: Visual representation of NAs proportion over space and time

View source: R/plot_prop_NA.R

plot_prop_NAR Documentation

Visual representation of NAs proportion over space and time

Description

The function allows to visualize spatial proportion of NAs and temporal proportion of NAs.

Usage

plot_prop_NA(data, variable, time = FALSE, interactive = FALSE, bar = FALSE, map = FALSE)

Arguments

data

Dataset of class 'data.frame'. Specify the dataset obtained from the retrieving and the merge_data functions.

variable

character. Specify the name of the variable for which to obtain the NAs proportion.

time

Logical. By default set to FALSE. If the temporal proportion of NAs is required set the argument to TRUE.

interactive

Logical. By default set to FALSE. If interactive plot set the argument to TRUE.

bar

Logical. By default set to FALSE. If set to TRUE a bar plot will be showed.

map

Logical. By default set to FALSE. If set to TRUE a map will be showed.

Value

Object of class gg, ggplot

Author(s)

Lorena Ricciotti


PublicWorksFinanceIT documentation built on April 3, 2025, 6:11 p.m.