I have the below code that gives me a map using mapview()
that draws a map for me but I'd like to know how to give it a title i.e "Map Showing Airports of the World". Must be something very basic I can't really figure out.
library(OpenStreetMap)
library(mapview)
library(mapdata)
airports <- read.delim("https://slcladal.github.io/data/airports.txt",
sep = "\t", header = T)
Airport_Location <- st_as_sf(x = airports,
coords = c("Longitude", "Latitude"),
crs = "+proj=longlat +datum=WGS84")
mapview(Airport_Location)