R/lsEspaConnection.R

Defines functions lsEspaCreateConnection

lsEspaCreateConnection<-function(username,password){
  c.handle = new_handle()
  handle_setopt(c.handle,
                referer=getRGISToolsOpt("LS.ESPA.API"),
                useragent = getRGISToolsOpt("USERAGENT"),
                followlocation = TRUE,
                autoreferer = TRUE,
                username=username,
                password=password)
  return(c.handle)
}

Try the RGISTools package in your browser

Any scripts or data that you put into this service are public.

RGISTools documentation built on July 2, 2020, 3:58 a.m.