Hello,
I am new to R and have numerous attempts at this myself. I am stuck with what to do now.
I have a list of Australian postcodes that I would like to plot on a map of Australia for a scientific publication. I have managed to construct the map of Australia by doing this
library(maptools)
library(raster)
library(plyr)
library(ggplot2)
library(rgdal)
Australia<-getData("GADM", country="AU", level=0)
Australia1<-getData("GADM", country="AU", level=1)
plot(Australia)
And I got an outline of Australia
Then I did this
ggmap::geocode(paste(c(2001,2050,3123,2145),"Australia"))
#and got the following error message
Error in if (!override && (queries_used_in_last_second + queries_sought > :
missing value where TRUE/FALSE needed
Any help would be appreciated.
Kind Regards,
Karen