R/get.psmsl.url.R

get.psmsl.url <- function(type="monthly") {
  if (type=="monthly"){
    url <- "http://www.psmsl.org/data/obtaining/rlr.monthly.data/rlr_monthly.zip"
  }
  else if (type=="metric"){
    url <- "http://www.psmsl.org/data/obtaining/met.monthly.data/met_monthly.zip"
  }
  else if (type=="annual"){
    url <- "http://www.psmsl.org/data/obtaining/rlr.annual.data/rlr_annual.zip"
  }
  return(url)
}

Try the sealevel package in your browser

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

sealevel documentation built on May 2, 2019, 6:51 p.m.