R/get_nuts_list.R

Defines functions get_nuts_list

Documented in get_nuts_list

#' @title List regions with NUTS IDs
#' @description Returns a list with all regions of the ENTRANCES case studies. Each region object of the list contains the NUTS IDs of the region.
#'
#' @return list with NUTS IDs for each region
#' @export
#'
#' @examples
#' #generates a list with seven objects for the seven regions/case studies from the ENTRANCES project.
#' #In each object of the list are the NUTS IDs of the region.
#' get_nuts_list()

get_nuts_list<- function(){
  NUTS_list<-list()
  NUTS_list$rhineland<-get_nuts_ids_for_region("rhineland")
  NUTS_list$lusatia<-get_nuts_ids_for_region("lusatia")
  NUTS_list$centralgermany<-get_nuts_ids_for_region("centralgermany")
  NUTS_list$jiuvalley<-get_nuts_ids_for_region("jiuvalley")
  NUTS_list$uppernitra<-get_nuts_ids_for_region("uppernitra")
  NUTS_list$sulcis<-get_nuts_ids_for_region("sulcis")
  NUTS_list$silesia<-get_nuts_ids_for_region("silesia")

  return(NUTS_list)
}
THartl1/EntrancesDataPackage documentation built on Dec. 18, 2021, 4:01 p.m.