lga_nsw {nswgeo}R Documentation

Geospatial data of the New South Wales administrative boundaries.

Description

These include the Unincorporated Far West Region. lga_nsw excludes Jervis Bay Territory and the ACT. poa_nsw includes both territories and some postal areas extend past the state boundary.

Usage

lga_nsw

poa_nsw

Format

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 644 rows and 7 columns.

Details

The geometries have been simplified with a tolerance of 750 m to reduce the level of detail.

Functions

Source

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.

Examples

library(ggplot2)
ggplot(lga_nsw) + geom_sf(aes(fill = LGA_NAME_2023), 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)

[Package nswgeo version 0.4.0 Index]