{"id":18722568,"url":"https://github.com/mdsumner/ozmaps.data","last_synced_at":"2025-04-12T14:53:12.659Z","repository":{"id":72211684,"uuid":"152030204","full_name":"mdsumner/ozmaps.data","owner":"mdsumner","description":"data for ozmaps","archived":false,"fork":false,"pushed_at":"2019-11-05T03:23:57.000Z","size":28495,"stargazers_count":14,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T09:22:09.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mdsumner.github.io/ozmaps.data/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdsumner.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-08T06:38:46.000Z","updated_at":"2025-03-22T08:14:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a4b4186-6ac8-4d40-8be7-bd24a4e61c62","html_url":"https://github.com/mdsumner/ozmaps.data","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fozmaps.data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fozmaps.data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fozmaps.data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fozmaps.data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsumner","download_url":"https://codeload.github.com/mdsumner/ozmaps.data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586227,"owners_count":21128995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:42:01.824Z","updated_at":"2025-04-12T14:53:12.653Z","avatar_url":"https://github.com/mdsumner.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\neditor_options: \n  chunk_output_type: console\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n# ozmaps.data\n\nNOTE: this is a *raw data package*, it is used to help create the [ozmaps package](https://github.com/mdsumner/ozmaps), which may be more suitable for your mapping needs. \n\n\nThe goal of ozmaps.data is to provide reasonably detailed data sets for various spatial subdivisions of Australia. \n\n\n## Installation\n\nThe package is not on CRAN but you can install ozmaps.data with:\n\n``` r\ndevtools::install_github(\"mdsumner/ozmaps.data\")\n```\n\n## Example\n\nHere we plot each available data set with a few variations using various packages. \n\n```{r plots}\nLCC \u003c- \"+proj=lcc +lon_0=130 +lat_0=-20 +lat_1=-43 +lat_2=-10 +datum=WGS84\"\n\nlibrary(ozmaps.data)\nlibrary(sf)\nlibrary(ggplot2)\nplot(abs_ced, main = \"Commonwealth Electoral Divisions\")\nplot(st_transform(abs_gccsa, LCC), main = \"Greater Capital City Statistical Areas\", graticule = TRUE)\nggplot(abs_ireg, aes(fill = NAME)) + geom_sf() + guides(fill = FALSE) + coord_sf(crs = 3577)  + ggtitle(\"Indigenous Regions (EPSG:3577)\")\n\n\n## tmap with localized Local Government Area plus inset map for the state\nlibrary(tmap)\nkbb \u003c- st_bbox(dplyr::filter(abs_lga, stringr::str_detect(NAME, \"Kingborough\")))\nk_lga \u003c- abs_lga[unlist(st_intersects(st_as_sfc(kbb), abs_lga)), ]\n\nkmap \u003c- tm_shape(k_lga, bbox = kbb) +\n  tm_polygons(col = \"NAME\")\n\nlibrary(grid)\nkmap \ntasmap \u003c- tm_shape(abs_ste %\u003e% dplyr::filter(NAME == \"Tasmania\")) +\n  tm_polygons(col = \"NAME\", legend.show = FALSE) \nkregion \u003c-   tm_shape(st_as_sfc(kbb)) + \n  tm_borders(lwd = 1) \n\nprint(tasmap + kregion, vp = viewport(0.85, 0.27, width = 0.3, height = 0.5))\n\n\nplot(abs_ra, main = \"Regional Areas\")\n\n\nplot(st_transform(abs_sa2, 3112), main = 'abs_sa2', graticule = TRUE)\nplot(st_transform(abs_sa3, 28354), main = 'abs_sa3', graticule = TRUE)\nplot(st_transform(abs_sa4, 28348), main = 'abs_sa4', graticule = TRUE)\nplot(st_transform(abs_sed, 3111), main = 'abs_sed', graticule = TRUE)\nplot(st_transform(abs_ste, \"+proj=gnom +lon_0=160 +lat_0=0 +datum=WGS84\"), main = 'abs_ste', graticule = TRUE)\n\n```\n\n\nPlease note that the 'ozmaps.data' project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fozmaps.data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsumner%2Fozmaps.data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fozmaps.data/lists"}