Load sf (simple feature) object of solar or wind clusters
Source:R/ideea_extra.R
get_ideea_cl_sf.Rd
Load sf (simple feature) object of solar or wind clusters
Usage
get_ideea_cl_sf(
resource = "sol",
nreg = 5,
tol = 0.05,
data = "merra2",
clusters_sf_file = "locid_{resource}_cl_r{nreg}_sf.RData"
)
Arguments
- resource
character, name of the resource: "sol" or "win"
- nreg
integer, the number of regions
- tol
numeric, the tolerance of the information loss in the clustering from 0 to 1. If 0 the number of clusters is equal to the number of locations in MERRA2 database. When tol is 1, there is only one cluster per region.
- data
character, the name of the data source, the directory in the
ideea_extra
directory. Currently only "merra2" is supported.- clusters_sf_file
character, the name of the file with the clusters in the
data
directory. Default is "locid_resource_cl_rnreg_sf.RData", available inideea_data
.