Learn R Programming

ozmaps (version 0.4.5)

ozmap_data: Australia map data

Description

Return simple features data frames of various Australian map layers.

Usage

ozmap_data(data = "states", quiet = FALSE, ...)

Arguments

data

name of layer to return, see details

quiet

set to TRUE to suppress messages

...

unused

Value

sf data frame with 'NAME' and 'geometry' columns

Details

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

Examples

Run this code
# NOT RUN {
country_sf <- ozmap_data("country")

# }
# NOT RUN {
 ## can take time to print out
 lga_sf <- ozmap_data("abs_lga")
 lga_sf[1:6, ]
# }

Run the code above in your browser using DataLab