# \donttest{
ex <- GIFT_no_overlap(entity_IDs = c(10071, 12078)) # Andalusia and Spain.
# We get Andalusia because it is smaller than Spain and larger than 100 km²
ex2 <- GIFT_no_overlap(entity_IDs = c(10071, 12078),
area_threshold_mainland = 100000) # since Andalusia is smaller than
# 100,000 km² large, the larger entity (Spain) is chosen here.
# }
Run the code above in your browser using DataLab