R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  op <- options()
  op.eurostat <- list(
    eurostat_url = "https://ec.europa.eu/eurostat/"
  )
  # Only set options that are not already set
  toset <- !(names(op.eurostat) %in% names(op))
  if (any(toset)) options(op.eurostat[toset])
  invisible()
}

Try the eurostat package in your browser

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

eurostat documentation built on May 29, 2024, 2:27 a.m.