nsw | R Documentation |
Excludes the borders with the ACT and Jervis Bay Territory, and Lord Howe Island.
nsw
lga_nsw
poa_nsw
An object of class sfc_MULTIPOLYGON
(inherits from sfc
) of length 1.
An object of class sf
(inherits from tbl_df
, tbl
, data.frame
) with 131 rows and 9 columns.
An object of class sf
(inherits from tbl_df
, tbl
, data.frame
) with 715 rows and 7 columns.
The geometries have been simplified with a tolerance of 1 km to reduce the level of detail.
nsw
: External boundaries of New South Wales as a multipolygon.
lga_nsw
: Local Government Area boundaries of New South Wales.
poa_nsw
: Postal area boundaries of New South Wales.
Australian Bureau of Statistics. "Australian Statistical Geography Standard (ASGS) Edition 3." ABS, Jul2021-Jun2026, https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026, accessed 27 September 2022.
The original dataset is published under the Creative Commons Attribution 4.0 International licence, © Commonwealth of Australia 2021.
library(ggplot2)
ggplot(lga_nsw) + geom_sf(aes(fill = LGA_NAME_2021), show.legend = FALSE)
library(sf)
sf_use_s2(FALSE)
# cut out part of the postcode dataset (it's quite large)
bbox <- st_bbox(c(xmin = 142, xmax = 147, ymin = -33, ymax = -30)) |>
st_as_sfc(crs = crs_gda2020())
st_crop(poa_nsw, bbox) |>
ggplot() +
geom_sf() +
geom_sf_text(aes(label = POA_CODE_2021), size = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.