The function allows to visualize spatial proportion of NAs and temporal proportion of NAs.
plot_prop_NA(data, variable, time = FALSE, interactive = FALSE, bar = FALSE, map = FALSE)
Object of class gg
, ggplot
Dataset of class 'data.frame'. Specify the dataset obtained from the retrieving and the merge_data
functions.
character. Specify the name of the variable for which to obtain the NAs proportion.
Logical. By default set to FALSE
. If the temporal proportion of NAs is required set the argument to TRUE
.
Logical. By default set to FALSE
. If interactive plot set the argument to TRUE
.
Logical. By default set to FALSE
. If set to TRUE
a bar plot will be showed.
Logical. By default set to FALSE
. If set to TRUE
a map will be showed.
Lorena Ricciotti