I would like to add price labels to a map of apartment listings I created using geom_point, however the labels won't show up and I get this error:
Error: Aesthetics must be either length 1 or the same as the data (4): label
How can I add the labels to points? I know there are other similar questions out there, but the solutions have so far not worked.
My data is structured as shown in this photo:
df2Map <- ggmap(get_map("Brooklyn, zoom = 13)"))
df2Map +
geom_point(data = df2,
aes(x = df2$Longitude, y = df2$Latitude)) +
geom_label(aes(label = df2$Price))