R/setEurostatTOC.R

Defines functions setEurostatTOC

setEurostatTOC <-
function() {
   if (!exists(".eurostatTOC", envir = .SmarterPolandEnv)) {
   .eurostatTOC <-  read.table("http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&file=table_of_contents_en.txt",  sep="\t", header=T,  quote="\"", fill = TRUE, comment.char="")
    assign(".eurostatTOC", .eurostatTOC, envir = .SmarterPolandEnv)
  }
  invisible(0)
}

Try the SmarterPoland package in your browser

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

SmarterPoland documentation built on Aug. 21, 2023, 1:06 a.m.