Quick plot of any shape file overlaid with lat, lon data.
plot_data_area(points, polygons, crs = 4269)
A figure
Other plotting:
plot_shapefile()
if (FALSE) { # \dontrun{
# Plot 2019 bottomline survey data with EPU regions
# Read in shapefile
area <- sf::st_read(dsn = system.file("extdata","EPU.shp",package="survdat"),quiet=T)
# Get data
data <- get_survdat_Data(channel)
# Filter 2019 data
filteredData <- data$survdat %>% dplyr::filter(YEAR == 2019)
plot_data_area(points= filteredData,polygons = area)
} # }