Skip to contents

Helper for plotting locations from list.

Usage

# S3 method for class 'openaq_locations_list'
plot(loc, database = "world", ...)

Arguments

loc

A list of locations results.

database

the maps package database of geographic boundaries to use, defaults to "world".

...

Other options passed on to base::plot().

Examples

if (FALSE) { # \dontrun{
loc <- list_locations(limit = 6, as_data_frame = FALSE)
plot(loc, pch = 19, col = 2)
} # }