ozmap: Australia map

Description Usage Arguments Details Value See Also Examples

View source: R/ozmap.R

Description

Draw a map of Australia, with or without states.

Usage

1
ozmap(x = "states", ..., add = FALSE)

Arguments

x

name of data set to use, default is ozmap_country

...

arguments passed to ...

add

add to existing plot, FALSE by default

Details

outline data is purely in longitude-latitude form, see ozmap_data() to obtain the data itself.'

See abs_ste for more detailed versions from the Australian Bureau of Statistics. An example is 'abs_ste' which means 'State and Territory', and so is a more detailed version of 'states'.

ozmap() uses the sf package to plot, but does so by only plotting the geometry rather than every colum, and leaves the plot region ready for overplotting with other data.

Value

the data set used, in 'sf' format

See Also

ozmap_data

Examples

1
2
3
ozmap()
ozmap("country", lwd = 6)
ozmap("abs_ced", add = TRUE, border = "firebrick")  ## commonwealth (national) electoral divisions

Example output

sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied

ozmaps documentation built on Aug. 3, 2021, 9:07 a.m.