Return simple features data frames of various Australian map layers.
ozmap_data(data = "states", quiet = FALSE, ...)
data | name of layer to return, see details |
---|---|
quiet | set to |
... | unused |
sf
data frame with 'NAME' and 'geometry' columns
Available layers are
states ozmap_states state and territories (low resolution)
country ozmap_country entire country (low resolution)
abs_ced abs_ced country level electoral divisions
abs_lga abs_lga local government areas
abs_ste abs_ste state and territories
country_sf <- ozmap_data("country") # \donttest{ ## can take time to print out lga_sf <- ozmap_data("abs_lga") lga_sf[1:6, ]#> Simple feature collection with 6 features and 1 field #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: 115.6286 ymin: -33.70048 xmax: 153.2076 ymax: -17.48903 #> geographic CRS: GDA94 #> NAME geometry #> 1 Broken Hill (C) MULTIPOLYGON (((141.414 -31... #> 2 Waroona (S) MULTIPOLYGON (((115.7029 -3... #> 3 Toowoomba (R) MULTIPOLYGON (((152.1381 -2... #> 4 West Arthur (S) MULTIPOLYGON (((117.013 -33... #> 5 Moreton Bay (R) MULTIPOLYGON (((153.0662 -2... #> 6 Etheridge (S) MULTIPOLYGON (((142.2652 -1...# }