diff --git a/authors.html b/authors.html
index 26c4ca6..ad88b50 100644
--- a/authors.html
+++ b/authors.html
@@ -7,7 +7,7 @@
nswgeo
-
0.4.0.9000
+
0.5.0
diff --git a/reference/nswgeo-package.html b/reference/nswgeo-package.html
index 32b706c..d129add 100644
--- a/reference/nswgeo-package.html
+++ b/reference/nswgeo-package.html
@@ -11,7 +11,7 @@
nswgeo
- 0.4.0.9000
+ 0.5.0
@@ -33,7 +33,7 @@
diff --git a/reference/outline.html b/reference/outline.html
index 34c6075..f4db54b 100644
--- a/reference/outline.html
+++ b/reference/outline.html
@@ -11,7 +11,7 @@
nswgeo
- 0.4.0.9000
+ 0.5.0
@@ -33,7 +33,7 @@
diff --git a/reference/phn.html b/reference/phn.html
index cbe1b74..c6e2de7 100644
--- a/reference/phn.html
+++ b/reference/phn.html
@@ -9,7 +9,7 @@
nswgeo
- 0.4.0.9000
+ 0.5.0
@@ -31,7 +31,7 @@
diff --git a/reference/poa_lhd_concordance.html b/reference/poa_lhd_concordance.html
index 7f61943..11a5b49 100644
--- a/reference/poa_lhd_concordance.html
+++ b/reference/poa_lhd_concordance.html
@@ -9,7 +9,7 @@
nswgeo
- 0.4.0.9000
+ 0.5.0
@@ -31,7 +31,7 @@
diff --git a/reference/postcodes.html b/reference/postcodes.html
index 26d51e4..f7adc29 100644
--- a/reference/postcodes.html
+++ b/reference/postcodes.html
@@ -11,7 +11,7 @@
nswgeo
- 0.4.0.9000
+ 0.5.0
@@ -33,7 +33,7 @@
diff --git a/reference/suburbs.html b/reference/suburbs.html
index e07b8c5..fd78298 100644
--- a/reference/suburbs.html
+++ b/reference/suburbs.html
@@ -9,7 +9,7 @@
nswgeo
- 0.4.0.9000
+ 0.5.0
@@ -31,7 +31,7 @@
diff --git a/search.json b/search.json
index 6b27606..36f900e 100644
--- a/search.json
+++ b/search.json
@@ -1 +1 @@
-[{"path":"https://cidm-ph.github.io/nswgeo/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022-2024 Western Sydney Local Health District, NSW Health Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Carl Suster. Author, maintainer. Western Sydney Local Health District, NSW Health. Copyright holder.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Suster C (2024). nswgeo: Geospatial Data Maps New South Wales, Australia. R package version 0.4.0.9000, https://cidm-ph.github.io/nswgeo/, https://github.com/cidm-ph/nswgeo.","code":"@Manual{, title = {nswgeo: Geospatial Data and Maps for New South Wales, Australia}, author = {Carl Suster}, year = {2024}, note = {R package version 0.4.0.9000, https://cidm-ph.github.io/nswgeo/}, url = {https://github.com/cidm-ph/nswgeo}, }"},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"nswgeo","dir":"","previous_headings":"","what":"Geospatial Data and Maps for New South Wales, Australia","title":"Geospatial Data and Maps for New South Wales, Australia","text":"collection geospatial datasets map plotting helpers working New South Wales maps. maps registered cartographer. package official publication, merely collection handy data public sources.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Geospatial Data and Maps for New South Wales, Australia","text":"can install nswgeo like :","code":"# CRAN release install.packages('nswgeo') # development version install.packages('nswgeo', repos = c('https://cidm-ph.r-universe.dev', 'https://cloud.r-project.org'))"},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"examples","dir":"","previous_headings":"","what":"Examples","title":"Geospatial Data and Maps for New South Wales, Australia","text":"data can used directly ggplot: Alternatively, data can accessed cartographer:","code":"library(nswgeo) library(ggplot2) ggplot(nswgeo::nsw) + geom_sf(fill = \"white\", data = nswgeo::australia) + geom_sf(fill = \"#9BCBEB\", colour = NA) + geom_sf(fill = NA, colour = \"white\", data = nswgeo::lhd) + geom_sf(fill = NA, colour = \"#002664\", linewidth = .8) + annotate( \"text\", x = 144, y = -27, label = \"New South Wales\", angle = -5, size = 5, fontface = \"italic\", colour = \"#002664\" ) + coord_sf(crs = crs_gda2020_albers(), default_crs = crs_gda2020()) + theme_minimal() + theme( panel.background = element_rect(fill = \"grey97\", colour = NA), axis.title = element_blank(), ) library(cartographer) head(covid_cases_nsw) #> # A tibble: 6 × 5 #> postcode lga lhd year type #> #> 1 2427 Mid-Coast Hunter New England 2022 B #> 2 2761 Blacktown Western Sydney 2021 A #> 3 2426 Mid-Coast Hunter New England 2022 B #> 4 2148 Blacktown Western Sydney 2022 B #> 5 2768 Blacktown Western Sydney 2021 A #> 6 2766 Blacktown Western Sydney 2021 B covid_cases_nsw |> dplyr::count(lga) |> add_geometry(lga, feature_type = \"nswgeo.lga\") |> ggplot() + geom_sf(aes(fill = n)) + geom_sf(fill = NA, data = map_sf(\"nswgeo.lga\")) + scale_fill_viridis_b(\"Cases\") + theme_void()"},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"a-note-on-resolution","dir":"","previous_headings":"","what":"A note on resolution","title":"Geospatial Data and Maps for New South Wales, Australia","text":"source datasets high resolution make package large bundled. Accordingly, data processed reduce resolution. can see exactly done looking scripts data-raw/, also help download source data. need higher resolution shapes, zooming specific postal areas, ’re better using original datasets directly.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"other-australian-data","dir":"","previous_headings":"","what":"Other Australian data","title":"Geospatial Data and Maps for New South Wales, Australia","text":"strayr helps working data Australian Bureau Statistics (ABS). absmapsdata contains processed ABS geospatial data.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":null,"dir":"Reference","previous_headings":"","what":"Geospatial data of the Australian state and territory administrative boundaries. — australia","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"Excludes external territories.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"","code":"australia states"},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sf (inherits tbl_df, tbl, data.frame) 8 rows 9 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"Australian Bureau 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 10 November 2022. original dataset published Creative Commons Attribution 4.0 International licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"geometries simplified tolerance 5 km reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"australia: External boundaries Australia multipolygon. states: State internal territory boundaries Australia.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"","code":"library(ggplot2) ggplot(states) + geom_sf(aes(fill = STE_NAME21))"},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":null,"dir":"Reference","previous_headings":"","what":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"subset covers random selection entries 3 LGAs, ignores case count field.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"","code":"covid_cases_nsw"},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"data frame 100 rows following columns: postcode postal code lhd name Local Health District lga name Local Government Area type synthetic disease type/lineage/etc., either B year Year case notification","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"NSW Ministry Health. \"NSW COVID-19 cases location.\" https://data.nsw.gov.au/data/dataset/covid-19-cases--location, accessed 11 October 2022. original dataset published Creative Commons Attribution 4.0 licence, © State New South Wales 2020-2022.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"","code":"head(covid_cases_nsw) #> # A tibble: 6 × 5 #> postcode lga lhd year type #> #> 1 2427 Mid-Coast Hunter New England 2022 B #> 2 2761 Blacktown Western Sydney 2021 A #> 3 2426 Mid-Coast Hunter New England 2022 B #> 4 2148 Blacktown Western Sydney 2022 B #> 5 2768 Blacktown Western Sydney 2021 A #> 6 2766 Blacktown Western Sydney 2021 B"},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":null,"dir":"Reference","previous_headings":"","what":"Coordinate reference system for Australia — crs_gda2020","title":"Coordinate reference system for Australia — crs_gda2020","text":"GDA2020 official CRS used Commonwealth NSW. Geospatial data package uses GDA2020.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Coordinate reference system for Australia — crs_gda2020","text":"","code":"crs_gda2020() crs_gda2020_cartesian() crs_gda2020_albers()"},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Coordinate reference system for Australia — crs_gda2020","text":"simple features CRS","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Coordinate reference system for Australia — crs_gda2020","text":"crs_gda2020 EPSG 7844 axes specified degrees. crs_gda2020_cartesian EPSG 7842 Cartesian axes metres. crs_gda2020_albers EPSG 9473, Albers equal area projection used, making suitable area computation.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":null,"dir":"Reference","previous_headings":"","what":"Local Health Districts of NSW. — lhd","title":"Local Health Districts of NSW. — lhd","text":"geometries simplified tolerance 750 m reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Local Health Districts of NSW. — lhd","text":"","code":"lhd"},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Local Health Districts of NSW. — lhd","text":"object class sf (inherits tbl_df, tbl, data.frame) 15 rows 11 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Local Health Districts of NSW. — lhd","text":"Spatial Services, Department Customer Service NSW. \"MyHospitals_Public\", https://portal.spatial.nsw.gov.au/portal/home/item.html?id=5a1e5dd9b38245d3b976c21b56fd6185, accessed 4 May 2023. Republished NSW Ministry Health, \"Map local health districts\", https://www.health.nsw.gov.au/lhd/Pages/lhd-maps.aspx. original dataset published Creative Commons Attribution 4.0 International licence, © State New South Wales NSW Ministry Health 2023. current information go https://www.health.nsw.gov.au.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Local Health Districts of NSW. — lhd","text":"","code":"library(ggplot2) ggplot(lhd) + geom_sf(aes(fill = lhd_name), show.legend = FALSE)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":null,"dir":"Reference","previous_headings":"","what":"Normalise postal codes — normalise_postcodes","title":"Normalise postal codes — normalise_postcodes","text":"special postcodes used addresses, codes post office boxes. helper converts postcode closest normal suburb reasonable clear match. good match, postcodes left unchanged.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Normalise postal codes — normalise_postcodes","text":"","code":"normalise_postcodes(codes)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Normalise postal codes — normalise_postcodes","text":"codes Character vector postcodes (coercible one).","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Normalise postal codes — normalise_postcodes","text":"Character vector size input, normalised postcodes.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Normalise postal codes — normalise_postcodes","text":"Note goes little aliases registered cartographer (account postcodes geospatial data ABS dataset).","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Normalise postal codes — normalise_postcodes","text":"","code":"normalise_postcodes(c(1685, 2000, 1010, 2129, 2145)) #> [1] \"2114\" \"2000\" \"2000\" \"2140\" \"2145\""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":null,"dir":"Reference","previous_headings":"","what":"Normalise state names from abbreviations — normalise_state_names","title":"Normalise state names from abbreviations — normalise_state_names","text":"Expand abbreviations like \"NSW\" \"New South Wales\", normalise title capitalisation. Entries match state name abbreviation left untouched.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Normalise state names from abbreviations — normalise_state_names","text":"","code":"normalise_state_names(names)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Normalise state names from abbreviations — normalise_state_names","text":"names Character vector state names.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Normalise state names from abbreviations — normalise_state_names","text":"Vector size input, normalised state names.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Normalise state names from abbreviations — normalise_state_names","text":"","code":"normalise_state_names(c(\"nsw\", \"VIC\", \"overseas\", \"Queensland\")) #> [1] \"New South Wales\" \"Victoria\" \"overseas\" \"Queensland\""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":null,"dir":"Reference","previous_headings":"","what":"Outlines of New South Wales and relevant territories. — nsw","title":"Outlines of New South Wales and relevant territories. — nsw","text":"Lord Howe Island administratively part NSW, small island 600 km coast, frequently omitted maps NSW.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Outlines of New South Wales and relevant territories. — nsw","text":"","code":"nsw act lhi jbt sydney"},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Outlines of New South Wales and relevant territories. — nsw","text":"object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_POLYGON (inherits sfc) length 1.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Outlines of New South Wales and relevant territories. — nsw","text":"Australian Bureau Statistics. \"Australian Statistical Geography Standard (ASGS) Edition 3.\" ABS, Jul2021-Jun2026 (24 July 2024 update), https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026, accessed 29 July 2024. original dataset published Creative Commons Attribution 4.0 International licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Outlines of New South Wales and relevant territories. — nsw","text":"Australian Capital Territory enclave within NSW, Jervis Bay Territory small Australian territory coast, surrounded NSW. Neither NSW territory, affect shape NSW's outline sometimes useful include maps alongside NSW due locations. geometry nsw simplified tolerance 750 m reduce level detail, whereas territories maintain full resolution. sydney simplified 500 m tolerance.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Outlines of New South Wales and relevant territories. — nsw","text":"nsw: External state boundary excluding LHI including ACT JBT. act: Australian Capital Territory boundary. lhi: Lord Howe Island boundary. jbt: Jervis Bay Territory boundary. sydney: Greater Sydney boundary.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":null,"dir":"Reference","previous_headings":"","what":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"include Unincorporated Far West Region. lga_nsw excludes Jervis Bay Territory ACT. poa_nsw includes territories postal areas extend past state boundary.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"","code":"lga_nsw poa_nsw"},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"object class sf (inherits tbl_df, tbl, data.frame) 131 rows 9 columns. object class sf (inherits tbl_df, tbl, data.frame) 644 rows 7 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"Australian Bureau Statistics. \"Australian Statistical Geography Standard (ASGS) Edition 3.\" ABS, Jul2021-Jun2026 (24 July 2024 update), https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026, accessed 29 July 2024. original dataset published Creative Commons Attribution 4.0 International licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"geometries simplified tolerance 750 m reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"lga_nsw: Local Government Area boundaries New South Wales. poa_nsw: Postal area boundaries New South Wales.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"","code":"library(ggplot2) ggplot(lga_nsw) + geom_sf(aes(fill = LGA_NAME_2024), show.legend = FALSE) library(sf) #> Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.4.0; sf_use_s2() is TRUE sf_use_s2(FALSE) #> Spherical geometry (s2) switched off # 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) #> although coordinates are longitude/latitude, st_intersection assumes that they #> are planar #> Warning: attribute variables are assumed to be spatially constant throughout all geometries #> Warning: st_point_on_surface may not give correct results for longitude/latitude data # some postcodes extend past the state boundary ggplot(nswgeo::poa_nsw) + geom_sf(aes(fill = as.integer(POA_NAME_2021)), colour = NA, n.breaks = 5) + geom_sf(fill = NA, colour = \"red\", linewidth = .5, data = nswgeo::nsw) + scale_fill_viridis_b(\"Postal area\", option = \"H\") + theme_void() #> Warning: Ignoring unknown parameters: `n.breaks`"},{"path":"https://cidm-ph.github.io/nswgeo/reference/nswgeo-package.html","id":null,"dir":"Reference","previous_headings":"","what":"Geospatial Tools for New South Wales — nswgeo-package","title":"Geospatial Tools for New South Wales — nswgeo-package","text":"package contains geospatial data NSW border several types features. also contains map plotting helpers help get data frame plot common scenarios.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/nswgeo-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Geospatial Tools for New South Wales — nswgeo-package","text":"Maintainer: Carl Suster Carl.Suster@health.nsw.gov.au (ORCID) contributors: Western Sydney Local Health District, NSW Health [copyright holder]","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":null,"dir":"Reference","previous_headings":"","what":"New South Wales outline with or without related territories — outline","title":"New South Wales outline with or without related territories — outline","text":"default outline nswgeo::nsw includes Jervis Bay Territory, excludes Lord Howe Island, cut ACT. utility allows adjusted.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"New South Wales outline with or without related territories — outline","text":"","code":"outline(lord_howe_island = FALSE, act_cutout = FALSE, jervis_bay = TRUE)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"New South Wales outline with or without related territories — outline","text":"lord_howe_island Include Lord Howe Island. act_cutout Cut area Australian Capital Territory. jervis_bay Cover area Jervis Bay Territory.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"New South Wales outline with or without related territories — outline","text":"simple features data frame requested geometries.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"New South Wales outline with or without related territories — outline","text":"","code":"library(ggplot2) outline(lord_howe_island = TRUE) |> ggplot() + geom_sf()"},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":null,"dir":"Reference","previous_headings":"","what":"Primary Health Network boundaries of New South Wales — phn","title":"Primary Health Network boundaries of New South Wales — phn","text":"geometries simplified tolerance 500 m reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Primary Health Network boundaries of New South Wales — phn","text":"","code":"phn"},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Primary Health Network boundaries of New South Wales — phn","text":"object class sf (inherits tbl_df, tbl, data.frame) 10 rows 9 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Primary Health Network boundaries of New South Wales — phn","text":"National Recovery Resilience Agency, \"PHN Boundaries used NBRA\", https://data.gov.au/data/dataset/phn-boundaries-used---nbra, accessed 25 May 2023. original dataset published Creative Commons Attribution 2.5 Australia licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":null,"dir":"Reference","previous_headings":"","what":"Concordance between postal areas and local health districts. — poa_lhd_concordance","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"Contains administrative geometries intersect local health district boundaries, along size intersection.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"","code":"poa_lhd_concordance"},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"object class data.frame 825 rows 5 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"Computed using source datasets lhd poa_nsw.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"geographic regions used Australian Bureau Statistics (ABS), ABS publishes correspondence files. files compare two different types regions align . Australian Government Department Health Aged Care published analogous concordance files primary health networks (PHNs). useful mapping different types administrative districts. appear publicly available set concordance files New South Wales local health district geographies. concordance computed intersecting ABS geometries local health district geometries. fraction ABS geometry's area included intersection reported column FRAC_INCLUDED. intersection FRAC_INCLUDED least 0.01% retained. Area computations performed crs_gda2020_albers() (EPSG 9473 equal area Albers) coordinates original reolution source data. Note postal areas precisely postcodes used Australia Post, however similar.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"","code":"library(dplyr) #> #> Attaching package: ‘dplyr’ #> The following objects are masked from ‘package:stats’: #> #> filter, lag #> The following objects are masked from ‘package:base’: #> #> intersect, setdiff, setequal, union # postcodes that overlap with Murrumbidgee LHD poa_lhd_concordance |> filter(lhd_name == \"Murrumbidgee\", FRAC_INCLUDED > 0.005) |> arrange(desc(FRAC_INCLUDED)) |> pull(POA_NAME_2021) #> [1] \"2644\" \"2646\" \"2649\" \"2653\" \"2659\" \"2660\" \"2712\" \"2713\" \"2643\" \"2645\" #> [11] \"2647\" \"2650\" \"2651\" \"2655\" \"2656\" \"2658\" \"2661\" \"2710\" \"2716\" \"2729\" #> [21] \"2730\" \"2731\" \"2732\" \"2590\" \"2663\" \"2678\" \"2700\" \"2701\" \"2702\" \"2707\" #> [31] \"2722\" \"2726\" \"2733\" \"2734\" \"2735\" \"2587\" \"2588\" \"2652\" \"2665\" \"2680\" #> [41] \"2703\" \"2705\" \"2706\" \"2725\" \"2666\" \"2668\" \"2681\" \"2586\" \"2669\" \"2714\" #> [51] \"2727\" \"2720\" \"2675\" \"2803\" \"2585\" \"2736\" \"2642\" \"2672\" \"2594\" \"2671\" #> [61] \"2640\" \"2711\" \"2721\" \"2808\" \"2611\" \"3644\" \"2807\" \"2629\" \"2627\" \"2794\" #> [71] \"2582\" \"2878\" \"2583\" \"3707\" \"2715\" # extract the main LHD for each postcode poa_lhd_concordance |> arrange(desc(FRAC_INCLUDED)) |> slice_head(n = 1, by = POA_NAME_2021) |> mutate(postcode = POA_NAME_2021, lhd = lhd_name, .keep = \"none\") |> as_tibble() #> # A tibble: 671 × 2 #> postcode lhd #> #> 1 2549 Southern NSW #> 2 2632 Southern NSW #> 3 2548 Southern NSW #> 4 2550 Southern NSW #> 5 2551 Southern NSW #> 6 2625 Southern NSW #> 7 2631 Southern NSW #> 8 2545 Southern NSW #> 9 2546 Southern NSW #> 10 2630 Southern NSW #> # ℹ 661 more rows"},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":null,"dir":"Reference","previous_headings":"","what":"Postal codes and localities of New South Wales. — postcodes","title":"Postal codes and localities of New South Wales. — postcodes","text":"Derived several government sources community curation. version additionally attempts canonicalise non-physical postcodes assist mapping.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Postal codes and localities of New South Wales. — postcodes","text":"","code":"postcodes"},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Postal codes and localities of New South Wales. — postcodes","text":"data frame 7 columns: postcode postal code locality suburb locality state NSW SA2_NAME_2016 Statistical Area 2 name assist disambiguating localities identical names special Flag indicating post office box, mail distribution centre special postal code old Flag indicating code appears superseded canonical closest canonical postal code, e.g. mapping post office boxes main suburb's postal code","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Postal codes and localities of New South Wales. — postcodes","text":"Matthew Proctor. \"Australian Postcodes\", https://www.matthewproctor.com/australian_postcodes, accessed 6 February 2023. original dataset released public domain.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Postal codes and localities of New South Wales. — postcodes","text":"","code":"set.seed(12345) postcodes[sort(sample.int(nrow(postcodes), 5)),] #> # A tibble: 5 × 7 #> postcode locality state SA2_NAME_2016 special old canonical #> #> 1 1118 SYDNEY NSW Sydney - Haymarket -… TRUE NA 2000 #> 2 2161 OLD GUILDFORD NSW Fairfield - East NA NA 2161 #> 3 2164 WETHERILL PARK BC NSW Wetherill Park Indus… NA NA 2164 #> 4 2469 JOES BOX NSW Casino Region NA NA 2469 #> 5 2849 PYANGLE NSW Mudgee Region - East NA NA 2849"},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":null,"dir":"Reference","previous_headings":"","what":"Suburbs of New South Wales. — suburbs","title":"Suburbs of New South Wales. — suburbs","text":"dataset containing names suburbs NSW postcodes. fields extracted -source dataset published DCS Spatial Services, NSW Government.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Suburbs of New South Wales. — suburbs","text":"","code":"suburbs"},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Suburbs of New South Wales. — suburbs","text":"data frame 2 columns: suburbname name suburb, upper case postcode main postcode suburb, character","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Suburbs of New South Wales. — suburbs","text":"Spatial Services, Department Customer Service NSW. \"NSW Administrative Boundaries Theme - Suburb.\" https://portal.spatial.nsw.gov.au/portal/home/item.html?id=38bdaa10b7cc41a3a19be6eca91f5368, accessed 21 September 2022. original dataset published Creative Commons Attribution 4.0 International licence, © State New South Wales (Spatial Services, business unit Department Customer Service NSW).","code":""},{"path":"https://cidm-ph.github.io/nswgeo/news/index.html","id":"nswgeo-development-version","dir":"Changelog","previous_headings":"","what":"nswgeo (development version)","title":"nswgeo (development version)","text":"Updated 2024 ASGS release, including 2024 LGA shapefile. Note means field names changed (e.g. LGA_NAME_2023 LGA_NAME_2024). Fixed bug ACT cut outline().","code":""},{"path":"https://cidm-ph.github.io/nswgeo/news/index.html","id":"nswgeo-040","dir":"Changelog","previous_headings":"","what":"nswgeo 0.4.0","title":"nswgeo 0.4.0","text":"CRAN release: 2024-01-29 nswgeo::phn - Primary Health Networks (PHNs) nswgeo::act - Australian Capital Territory (ACT) nswgeo::jbt - Jervis Bay Territory nswgeo::lhi - Lord Howe Island nswgeo::sydney - Greater Sydney Added new helper function outline() combining NSW external boundaries territories. Add new helpers coordinate reference systems relevant Australia (crs_gda2020_cartesian() crs_gda2020_albers()). Add concordance file ABS postal areas local health districts (nswgeo::poa_lhd_concordance). Fixed nswgeo::poa_nsw dataset avoid strange geometries near state border. Slightly increased resolution maps 750 m instead 1 km. Updated 2023 ASGS release, including 2023 LGA shapefile. Note means field names changed (e.g. LGA_NAME_2021 LGA_NAME_2023). Declare support older R version 4.1.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/news/index.html","id":"nswgeo-033","dir":"Changelog","previous_headings":"","what":"nswgeo 0.3.3","title":"nswgeo 0.3.3","text":"CRAN release: 2023-05-05 Initial CRAN release.","code":""}]
+[{"path":"https://cidm-ph.github.io/nswgeo/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2022-2024 Western Sydney Local Health District, NSW Health Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Carl Suster. Author, maintainer. Western Sydney Local Health District, NSW Health. Copyright holder.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Suster C (2024). nswgeo: Geospatial Data Maps New South Wales, Australia. R package version 0.5.0, https://cidm-ph.github.io/nswgeo/, https://github.com/cidm-ph/nswgeo.","code":"@Manual{, title = {nswgeo: Geospatial Data and Maps for New South Wales, Australia}, author = {Carl Suster}, year = {2024}, note = {R package version 0.5.0, https://cidm-ph.github.io/nswgeo/}, url = {https://github.com/cidm-ph/nswgeo}, }"},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"nswgeo","dir":"","previous_headings":"","what":"Geospatial Data and Maps for New South Wales, Australia","title":"Geospatial Data and Maps for New South Wales, Australia","text":"collection geospatial datasets map plotting helpers working New South Wales maps. maps registered cartographer. package official publication, merely collection handy data public sources.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Geospatial Data and Maps for New South Wales, Australia","text":"can install nswgeo like :","code":"# CRAN release install.packages('nswgeo') # development version install.packages('nswgeo', repos = c('https://cidm-ph.r-universe.dev', 'https://cloud.r-project.org'))"},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"examples","dir":"","previous_headings":"","what":"Examples","title":"Geospatial Data and Maps for New South Wales, Australia","text":"data can used directly ggplot: Alternatively, data can accessed cartographer:","code":"library(nswgeo) library(ggplot2) ggplot(nswgeo::nsw) + geom_sf(fill = \"white\", data = nswgeo::australia) + geom_sf(fill = \"#9BCBEB\", colour = NA) + geom_sf(fill = NA, colour = \"white\", data = nswgeo::lhd) + geom_sf(fill = NA, colour = \"#002664\", linewidth = .8) + annotate( \"text\", x = 144, y = -27, label = \"New South Wales\", angle = -5, size = 5, fontface = \"italic\", colour = \"#002664\" ) + coord_sf(crs = crs_gda2020_albers(), default_crs = crs_gda2020()) + theme_minimal() + theme( panel.background = element_rect(fill = \"grey97\", colour = NA), axis.title = element_blank(), ) library(cartographer) head(covid_cases_nsw) #> # A tibble: 6 × 5 #> postcode lga lhd year type #> #> 1 2427 Mid-Coast Hunter New England 2022 B #> 2 2761 Blacktown Western Sydney 2021 A #> 3 2426 Mid-Coast Hunter New England 2022 B #> 4 2148 Blacktown Western Sydney 2022 B #> 5 2768 Blacktown Western Sydney 2021 A #> 6 2766 Blacktown Western Sydney 2021 B covid_cases_nsw |> dplyr::count(lga) |> add_geometry(lga, feature_type = \"nswgeo.lga\") |> ggplot() + geom_sf(aes(fill = n)) + geom_sf(fill = NA, data = map_sf(\"nswgeo.lga\")) + scale_fill_viridis_b(\"Cases\") + theme_void()"},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"a-note-on-resolution","dir":"","previous_headings":"","what":"A note on resolution","title":"Geospatial Data and Maps for New South Wales, Australia","text":"source datasets high resolution make package large bundled. Accordingly, data processed reduce resolution. can see exactly done looking scripts data-raw/, also help download source data. need higher resolution shapes, zooming specific postal areas, ’re better using original datasets directly.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/index.html","id":"other-australian-data","dir":"","previous_headings":"","what":"Other Australian data","title":"Geospatial Data and Maps for New South Wales, Australia","text":"strayr helps working data Australian Bureau Statistics (ABS). absmapsdata contains processed ABS geospatial data.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":null,"dir":"Reference","previous_headings":"","what":"Geospatial data of the Australian state and territory administrative boundaries. — australia","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"Excludes external territories.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"","code":"australia states"},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sf (inherits tbl_df, tbl, data.frame) 8 rows 9 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"Australian Bureau 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 10 November 2022. original dataset published Creative Commons Attribution 4.0 International licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"geometries simplified tolerance 5 km reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"australia: External boundaries Australia multipolygon. states: State internal territory boundaries Australia.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/australia.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Geospatial data of the Australian state and territory administrative boundaries. — australia","text":"","code":"library(ggplot2) ggplot(states) + geom_sf(aes(fill = STE_NAME21))"},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":null,"dir":"Reference","previous_headings":"","what":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"subset covers random selection entries 3 LGAs, ignores case count field.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"","code":"covid_cases_nsw"},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"data frame 100 rows following columns: postcode postal code lhd name Local Health District lga name Local Government Area type synthetic disease type/lineage/etc., either B year Year case notification","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"NSW Ministry Health. \"NSW COVID-19 cases location.\" https://data.nsw.gov.au/data/dataset/covid-19-cases--location, accessed 11 October 2022. original dataset published Creative Commons Attribution 4.0 licence, © State New South Wales 2020-2022.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/covid_cases_nsw.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Small sample of COVID-19 cases in NSW for testing and demonstration. — covid_cases_nsw","text":"","code":"head(covid_cases_nsw) #> # A tibble: 6 × 5 #> postcode lga lhd year type #> #> 1 2427 Mid-Coast Hunter New England 2022 B #> 2 2761 Blacktown Western Sydney 2021 A #> 3 2426 Mid-Coast Hunter New England 2022 B #> 4 2148 Blacktown Western Sydney 2022 B #> 5 2768 Blacktown Western Sydney 2021 A #> 6 2766 Blacktown Western Sydney 2021 B"},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":null,"dir":"Reference","previous_headings":"","what":"Coordinate reference system for Australia — crs_gda2020","title":"Coordinate reference system for Australia — crs_gda2020","text":"GDA2020 official CRS used Commonwealth NSW. Geospatial data package uses GDA2020.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Coordinate reference system for Australia — crs_gda2020","text":"","code":"crs_gda2020() crs_gda2020_cartesian() crs_gda2020_albers()"},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Coordinate reference system for Australia — crs_gda2020","text":"simple features CRS","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/crs_gda2020.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Coordinate reference system for Australia — crs_gda2020","text":"crs_gda2020 EPSG 7844 axes specified degrees. crs_gda2020_cartesian EPSG 7842 Cartesian axes metres. crs_gda2020_albers EPSG 9473, Albers equal area projection used, making suitable area computation.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":null,"dir":"Reference","previous_headings":"","what":"Local Health Districts of NSW. — lhd","title":"Local Health Districts of NSW. — lhd","text":"geometries simplified tolerance 750 m reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Local Health Districts of NSW. — lhd","text":"","code":"lhd"},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Local Health Districts of NSW. — lhd","text":"object class sf (inherits tbl_df, tbl, data.frame) 15 rows 11 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Local Health Districts of NSW. — lhd","text":"Spatial Services, Department Customer Service NSW. \"MyHospitals_Public\", https://portal.spatial.nsw.gov.au/portal/home/item.html?id=5a1e5dd9b38245d3b976c21b56fd6185, accessed 4 May 2023. Republished NSW Ministry Health, \"Map local health districts\", https://www.health.nsw.gov.au/lhd/Pages/lhd-maps.aspx. original dataset published Creative Commons Attribution 4.0 International licence, © State New South Wales NSW Ministry Health 2023. current information go https://www.health.nsw.gov.au.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/lhd.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Local Health Districts of NSW. — lhd","text":"","code":"library(ggplot2) ggplot(lhd) + geom_sf(aes(fill = lhd_name), show.legend = FALSE)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":null,"dir":"Reference","previous_headings":"","what":"Normalise postal codes — normalise_postcodes","title":"Normalise postal codes — normalise_postcodes","text":"special postcodes used addresses, codes post office boxes. helper converts postcode closest normal suburb reasonable clear match. good match, postcodes left unchanged.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Normalise postal codes — normalise_postcodes","text":"","code":"normalise_postcodes(codes)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Normalise postal codes — normalise_postcodes","text":"codes Character vector postcodes (coercible one).","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Normalise postal codes — normalise_postcodes","text":"Character vector size input, normalised postcodes.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Normalise postal codes — normalise_postcodes","text":"Note goes little aliases registered cartographer (account postcodes geospatial data ABS dataset).","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_postcodes.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Normalise postal codes — normalise_postcodes","text":"","code":"normalise_postcodes(c(1685, 2000, 1010, 2129, 2145)) #> [1] \"2114\" \"2000\" \"2000\" \"2140\" \"2145\""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":null,"dir":"Reference","previous_headings":"","what":"Normalise state names from abbreviations — normalise_state_names","title":"Normalise state names from abbreviations — normalise_state_names","text":"Expand abbreviations like \"NSW\" \"New South Wales\", normalise title capitalisation. Entries match state name abbreviation left untouched.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Normalise state names from abbreviations — normalise_state_names","text":"","code":"normalise_state_names(names)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Normalise state names from abbreviations — normalise_state_names","text":"names Character vector state names.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Normalise state names from abbreviations — normalise_state_names","text":"Vector size input, normalised state names.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/normalise_state_names.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Normalise state names from abbreviations — normalise_state_names","text":"","code":"normalise_state_names(c(\"nsw\", \"VIC\", \"overseas\", \"Queensland\")) #> [1] \"New South Wales\" \"Victoria\" \"overseas\" \"Queensland\""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":null,"dir":"Reference","previous_headings":"","what":"Outlines of New South Wales and relevant territories. — nsw","title":"Outlines of New South Wales and relevant territories. — nsw","text":"Lord Howe Island administratively part NSW, small island 600 km coast, frequently omitted maps NSW.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Outlines of New South Wales and relevant territories. — nsw","text":"","code":"nsw act lhi jbt sydney"},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Outlines of New South Wales and relevant territories. — nsw","text":"object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_MULTIPOLYGON (inherits sfc) length 1. object class sfc_POLYGON (inherits sfc) length 1.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Outlines of New South Wales and relevant territories. — nsw","text":"Australian Bureau Statistics. \"Australian Statistical Geography Standard (ASGS) Edition 3.\" ABS, Jul2021-Jun2026 (24 July 2024 update), https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026, accessed 29 July 2024. original dataset published Creative Commons Attribution 4.0 International licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Outlines of New South Wales and relevant territories. — nsw","text":"Australian Capital Territory enclave within NSW, Jervis Bay Territory small Australian territory coast, surrounded NSW. Neither NSW territory, affect shape NSW's outline sometimes useful include maps alongside NSW due locations. geometry nsw simplified tolerance 750 m reduce level detail, whereas territories maintain full resolution. sydney simplified 500 m tolerance.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Outlines of New South Wales and relevant territories. — nsw","text":"nsw: External state boundary excluding LHI including ACT JBT. act: Australian Capital Territory boundary. lhi: Lord Howe Island boundary. jbt: Jervis Bay Territory boundary. sydney: Greater Sydney boundary.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":null,"dir":"Reference","previous_headings":"","what":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"include Unincorporated Far West Region. lga_nsw excludes Jervis Bay Territory ACT. poa_nsw includes territories postal areas extend past state boundary.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"","code":"lga_nsw poa_nsw"},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"object class sf (inherits tbl_df, tbl, data.frame) 131 rows 9 columns. object class sf (inherits tbl_df, tbl, data.frame) 644 rows 7 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"Australian Bureau Statistics. \"Australian Statistical Geography Standard (ASGS) Edition 3.\" ABS, Jul2021-Jun2026 (24 July 2024 update), https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026, accessed 29 July 2024. original dataset published Creative Commons Attribution 4.0 International licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"geometries simplified tolerance 750 m reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"lga_nsw: Local Government Area boundaries New South Wales. poa_nsw: Postal area boundaries New South Wales.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/nsw_admin.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Geospatial data of the New South Wales administrative boundaries. — lga_nsw","text":"","code":"library(ggplot2) ggplot(lga_nsw) + geom_sf(aes(fill = LGA_NAME_2024), show.legend = FALSE) library(sf) #> Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.4.0; sf_use_s2() is TRUE sf_use_s2(FALSE) #> Spherical geometry (s2) switched off # 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) #> although coordinates are longitude/latitude, st_intersection assumes that they #> are planar #> Warning: attribute variables are assumed to be spatially constant throughout all geometries #> Warning: st_point_on_surface may not give correct results for longitude/latitude data # some postcodes extend past the state boundary ggplot(nswgeo::poa_nsw) + geom_sf(aes(fill = as.integer(POA_NAME_2021)), colour = NA) + geom_sf(fill = NA, colour = \"red\", linewidth = .5, data = nswgeo::nsw) + scale_fill_viridis_b(\"Postal area\", option = \"H\") + theme_void()"},{"path":"https://cidm-ph.github.io/nswgeo/reference/nswgeo-package.html","id":null,"dir":"Reference","previous_headings":"","what":"Geospatial Tools for New South Wales — nswgeo-package","title":"Geospatial Tools for New South Wales — nswgeo-package","text":"package contains geospatial data NSW border several types features. also contains map plotting helpers help get data frame plot common scenarios.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/nswgeo-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"Geospatial Tools for New South Wales — nswgeo-package","text":"Maintainer: Carl Suster Carl.Suster@health.nsw.gov.au (ORCID) contributors: Western Sydney Local Health District, NSW Health [copyright holder]","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":null,"dir":"Reference","previous_headings":"","what":"New South Wales outline with or without related territories — outline","title":"New South Wales outline with or without related territories — outline","text":"default outline nswgeo::nsw includes Jervis Bay Territory, excludes Lord Howe Island, cut ACT. utility allows adjusted.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"New South Wales outline with or without related territories — outline","text":"","code":"outline(lord_howe_island = FALSE, act_cutout = FALSE, jervis_bay = TRUE)"},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"New South Wales outline with or without related territories — outline","text":"lord_howe_island Include Lord Howe Island. act_cutout Cut area Australian Capital Territory. jervis_bay Cover area Jervis Bay Territory.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"New South Wales outline with or without related territories — outline","text":"simple features data frame requested geometries.","code":""},{"path":[]},{"path":"https://cidm-ph.github.io/nswgeo/reference/outline.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"New South Wales outline with or without related territories — outline","text":"","code":"library(ggplot2) outline(lord_howe_island = TRUE) |> ggplot() + geom_sf()"},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":null,"dir":"Reference","previous_headings":"","what":"Primary Health Network boundaries of New South Wales — phn","title":"Primary Health Network boundaries of New South Wales — phn","text":"geometries simplified tolerance 500 m reduce level detail.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Primary Health Network boundaries of New South Wales — phn","text":"","code":"phn"},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Primary Health Network boundaries of New South Wales — phn","text":"object class sf (inherits tbl_df, tbl, data.frame) 10 rows 9 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/phn.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Primary Health Network boundaries of New South Wales — phn","text":"National Recovery Resilience Agency, \"PHN Boundaries used NBRA\", https://data.gov.au/data/dataset/phn-boundaries-used---nbra, accessed 25 May 2023. original dataset published Creative Commons Attribution 2.5 Australia licence, © Commonwealth Australia 2021.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":null,"dir":"Reference","previous_headings":"","what":"Concordance between postal areas and local health districts. — poa_lhd_concordance","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"Contains administrative geometries intersect local health district boundaries, along size intersection.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"","code":"poa_lhd_concordance"},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"object class data.frame 825 rows 5 columns.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"Computed using source datasets lhd poa_nsw.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"geographic regions used Australian Bureau Statistics (ABS), ABS publishes correspondence files. files compare two different types regions align . Australian Government Department Health Aged Care published analogous concordance files primary health networks (PHNs). useful mapping different types administrative districts. appear publicly available set concordance files New South Wales local health district geographies. concordance computed intersecting ABS geometries local health district geometries. fraction ABS geometry's area included intersection reported column FRAC_INCLUDED. intersection FRAC_INCLUDED least 0.01% retained. Area computations performed crs_gda2020_albers() (EPSG 9473 equal area Albers) coordinates original reolution source data. Note postal areas precisely postcodes used Australia Post, however similar.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/poa_lhd_concordance.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Concordance between postal areas and local health districts. — poa_lhd_concordance","text":"","code":"library(dplyr) #> #> Attaching package: ‘dplyr’ #> The following objects are masked from ‘package:stats’: #> #> filter, lag #> The following objects are masked from ‘package:base’: #> #> intersect, setdiff, setequal, union # postcodes that overlap with Murrumbidgee LHD poa_lhd_concordance |> filter(lhd_name == \"Murrumbidgee\", FRAC_INCLUDED > 0.005) |> arrange(desc(FRAC_INCLUDED)) |> pull(POA_NAME_2021) #> [1] \"2644\" \"2646\" \"2649\" \"2653\" \"2659\" \"2660\" \"2712\" \"2713\" \"2643\" \"2645\" #> [11] \"2647\" \"2650\" \"2651\" \"2655\" \"2656\" \"2658\" \"2661\" \"2710\" \"2716\" \"2729\" #> [21] \"2730\" \"2731\" \"2732\" \"2590\" \"2663\" \"2678\" \"2700\" \"2701\" \"2702\" \"2707\" #> [31] \"2722\" \"2726\" \"2733\" \"2734\" \"2735\" \"2587\" \"2588\" \"2652\" \"2665\" \"2680\" #> [41] \"2703\" \"2705\" \"2706\" \"2725\" \"2666\" \"2668\" \"2681\" \"2586\" \"2669\" \"2714\" #> [51] \"2727\" \"2720\" \"2675\" \"2803\" \"2585\" \"2736\" \"2642\" \"2672\" \"2594\" \"2671\" #> [61] \"2640\" \"2711\" \"2721\" \"2808\" \"2611\" \"3644\" \"2807\" \"2629\" \"2627\" \"2794\" #> [71] \"2582\" \"2878\" \"2583\" \"3707\" \"2715\" # extract the main LHD for each postcode poa_lhd_concordance |> arrange(desc(FRAC_INCLUDED)) |> slice_head(n = 1, by = POA_NAME_2021) |> mutate(postcode = POA_NAME_2021, lhd = lhd_name, .keep = \"none\") |> as_tibble() #> # A tibble: 671 × 2 #> postcode lhd #> #> 1 2549 Southern NSW #> 2 2632 Southern NSW #> 3 2548 Southern NSW #> 4 2550 Southern NSW #> 5 2551 Southern NSW #> 6 2625 Southern NSW #> 7 2631 Southern NSW #> 8 2545 Southern NSW #> 9 2546 Southern NSW #> 10 2630 Southern NSW #> # ℹ 661 more rows"},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":null,"dir":"Reference","previous_headings":"","what":"Postal codes and localities of New South Wales. — postcodes","title":"Postal codes and localities of New South Wales. — postcodes","text":"Derived several government sources community curation. version additionally attempts canonicalise non-physical postcodes assist mapping.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Postal codes and localities of New South Wales. — postcodes","text":"","code":"postcodes"},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Postal codes and localities of New South Wales. — postcodes","text":"data frame 7 columns: postcode postal code locality suburb locality state NSW SA2_NAME_2016 Statistical Area 2 name assist disambiguating localities identical names special Flag indicating post office box, mail distribution centre special postal code old Flag indicating code appears superseded canonical closest canonical postal code, e.g. mapping post office boxes main suburb's postal code","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Postal codes and localities of New South Wales. — postcodes","text":"Matthew Proctor. \"Australian Postcodes\", https://www.matthewproctor.com/australian_postcodes, accessed 6 February 2023. original dataset released public domain.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/postcodes.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Postal codes and localities of New South Wales. — postcodes","text":"","code":"set.seed(12345) postcodes[sort(sample.int(nrow(postcodes), 5)),] #> # A tibble: 5 × 7 #> postcode locality state SA2_NAME_2016 special old canonical #> #> 1 1118 SYDNEY NSW Sydney - Haymarket -… TRUE NA 2000 #> 2 2161 OLD GUILDFORD NSW Fairfield - East NA NA 2161 #> 3 2164 WETHERILL PARK BC NSW Wetherill Park Indus… NA NA 2164 #> 4 2469 JOES BOX NSW Casino Region NA NA 2469 #> 5 2849 PYANGLE NSW Mudgee Region - East NA NA 2849"},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":null,"dir":"Reference","previous_headings":"","what":"Suburbs of New South Wales. — suburbs","title":"Suburbs of New South Wales. — suburbs","text":"dataset containing names suburbs NSW postcodes. fields extracted -source dataset published DCS Spatial Services, NSW Government.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Suburbs of New South Wales. — suburbs","text":"","code":"suburbs"},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Suburbs of New South Wales. — suburbs","text":"data frame 2 columns: suburbname name suburb, upper case postcode main postcode suburb, character","code":""},{"path":"https://cidm-ph.github.io/nswgeo/reference/suburbs.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Suburbs of New South Wales. — suburbs","text":"Spatial Services, Department Customer Service NSW. \"NSW Administrative Boundaries Theme - Suburb.\" https://portal.spatial.nsw.gov.au/portal/home/item.html?id=38bdaa10b7cc41a3a19be6eca91f5368, accessed 21 September 2022. original dataset published Creative Commons Attribution 4.0 International licence, © State New South Wales (Spatial Services, business unit Department Customer Service NSW).","code":""},{"path":"https://cidm-ph.github.io/nswgeo/news/index.html","id":"nswgeo-050","dir":"Changelog","previous_headings":"","what":"nswgeo 0.5.0","title":"nswgeo 0.5.0","text":"CRAN release: 2024-12-17 Updated 2024 ASGS release, including 2024 LGA shapefile. Note means field names changed (e.g. LGA_NAME_2023 LGA_NAME_2024). Fixed bug ACT cut outline().","code":""},{"path":"https://cidm-ph.github.io/nswgeo/news/index.html","id":"nswgeo-040","dir":"Changelog","previous_headings":"","what":"nswgeo 0.4.0","title":"nswgeo 0.4.0","text":"CRAN release: 2024-01-29 nswgeo::phn - Primary Health Networks (PHNs) nswgeo::act - Australian Capital Territory (ACT) nswgeo::jbt - Jervis Bay Territory nswgeo::lhi - Lord Howe Island nswgeo::sydney - Greater Sydney Added new helper function outline() combining NSW external boundaries territories. Add new helpers coordinate reference systems relevant Australia (crs_gda2020_cartesian() crs_gda2020_albers()). Add concordance file ABS postal areas local health districts (nswgeo::poa_lhd_concordance). Fixed nswgeo::poa_nsw dataset avoid strange geometries near state border. Slightly increased resolution maps 750 m instead 1 km. Updated 2023 ASGS release, including 2023 LGA shapefile. Note means field names changed (e.g. LGA_NAME_2021 LGA_NAME_2023). Declare support older R version 4.1.","code":""},{"path":"https://cidm-ph.github.io/nswgeo/news/index.html","id":"nswgeo-033","dir":"Changelog","previous_headings":"","what":"nswgeo 0.3.3","title":"nswgeo 0.3.3","text":"CRAN release: 2023-05-05 Initial CRAN release.","code":""}]