0

Currently I am trying to make a map of aviation accidents. I have the data I need and I have uploaded the correct library for ggmap.

I am having trouble figuring out how to put the latitude and longitude data from my data frame onto the map itself. I do not want to input 80k pieces of data individually.

ggmap(usa) + geom_point(data = aviaitiondata.df, mapping = aes(x = longitude, y = latitude, color = sector))

I am very new at coding any help would be appriciated

1 Answers1

0

I had to make an API with google in r

register_google("api.key")

The key was made using a google maps license. This let me make the map that I needed to make to place the data