if (require(tmap)) {
data(World)
get_asp_ratio(World)
get_asp_ratio(bb(World))
tm <- qtm(World)
get_asp_ratio(tm)
get_asp_ratio("Germany") #note: bb("Germany") uses geocode_OSM("Germany")
}
Run the code above in your browser using DataLab