# NOT RUN {
# Get all links of a study
getLinks()
# Get all links with their origin and their destination
# Get all links connected to french areas (assuming their name contains "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 name contains "psp")
getLinks(getAreas("fr"), exclude = getAreas("psp"))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab