Skip to contents

Helper for plotting locations on map.

Usage

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

Arguments

loc

A data frame 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{
df <- list_locations(limit = 100)
plot(df, pch = 19, col = df$provider)
} # }