# NOT RUN {
# Get all links of a study
getLinks()
# Get all links with their origins and destinations
getLinks(namesOnly = FALSE)
# Get all links connected to French areas (assuming their names contain "fr")
getLinks(getAreas("fr"))
# Same but with only links connecting two French areas
getLinks(getAreas("fr"), internalOnly = TRUE)
# Exclude links connecting real areas with pumped storage virtual areas
# (assuming their names contain "psp")
getLinks(getAreas("fr"), exclude = getAreas("psp"))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab