# NOT RUN {
# set up a data cache
start_using_memoise()
# download data for Italy
get_regional_data("italy")
# return totals for Italy with no localisation
get_regional_data("italy", localise = FALSE, totals = TRUE)
# download data for the UK but return the class
uk <- get_regional_data("United Kingdom", class = TRUE)
uk
# return UK data from the class object]
uk$return()
# }
Run the code above in your browser using DataLab