Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.5%) to scientific vocabulary
Keywords
geospatial
geospatial-data
r
Last synced: 6 months ago
·
JSON representation
Repository
Geospatial data and maps for New South Wales, Australia
Basic Info
- Host: GitHub
- Owner: cidm-ph
- License: other
- Language: R
- Default Branch: main
- Homepage: https://cidm-ph.github.io/nswgeo/
- Size: 19.1 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
- Releases: 2
Topics
geospatial
geospatial-data
r
Created over 3 years ago
· Last pushed about 1 year ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
editor_options:
markdown:
wrap: 72
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
library(sf, quietly = TRUE)
set.seed(2022)
```
# nswgeo
[](https://cidm-ph.r-universe.dev)
[](https://github.com/cidm-ph/nswgeo/actions/workflows/R-CMD-check.yaml)
[](https://CRAN.R-project.org/package=nswgeo)
A collection of geospatial datasets and map plotting helpers for working
with New South Wales maps. The maps are registered with `{cartographer}`.
This package is not an official publication, merely a collection of handy data
from public sources.
## Installation
You can install nswgeo like so:
``` r
# CRAN release
install.packages('nswgeo')
# development version
install.packages('nswgeo', repos = c('https://cidm-ph.r-universe.dev', 'https://cloud.r-project.org'))
```
## Examples
The data can be used directly with ggplot:
```{r ggplot, fig.width=5, fig.height=4.7, fig.dpi=300}
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(),
)
```
Alternatively, the data can be accessed through `{cartographer}`:
```{r cartographer}
library(cartographer)
head(covid_cases_nsw)
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()
```
## A note on resolution
Some of the source datasets are very high resolution and would make this package
too large if they were bundled. Accordingly, most data has been processed to
reduce the resolution. You can see exactly what was done by looking at the
scripts in `data-raw/`, which also help to download source data.
If you need higher resolution shapes, such as when zooming into specific postal
areas, you're better off using the original datasets directly.
## Other Australian data
* [`strayr`](https://runapp-aus.github.io/strayr/) helps with working with
data from the Australian Bureau of Statistics (ABS).
* [`absmapsdata`](https://github.com/wfmackey/absmapsdata) contains some
processed ABS geospatial data.
Owner
- Name: Centre for Infectious Diseases and Microbiology - Public Health
- Login: cidm-ph
- Kind: organization
- Location: Australia
- Website: wslhd.health.nsw.gov.au/CIDM-PH
- Repositories: 7
- Profile: https://github.com/cidm-ph
GitHub Events
Total
- Create event: 1
- Release event: 1
- Issues event: 2
- Push event: 10
Last Year
- Create event: 1
- Release event: 1
- Issues event: 2
- Push event: 10
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Carl Suster | C****r@h****u | 50 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 0
- Average time to close issues: 3 months
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.25
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: about 18 hours
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- arcresu (4)
Pull Request Authors
Top Labels
Issue Labels
enhancement (2)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 214 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: nswgeo
Geospatial Data and Maps for New South Wales, Australia
- Homepage: https://github.com/cidm-ph/nswgeo
- Documentation: http://cran.r-project.org/web/packages/nswgeo/nswgeo.pdf
- License: MIT + file LICENSE
-
Latest release: 0.5.0
published about 1 year ago
Rankings
Dependent repos count: 24.4%
Dependent packages count: 28.0%
Forks count: 28.0%
Stargazers count: 34.8%
Average: 39.3%
Downloads: 81.4%
Maintainers (1)
Last synced:
6 months ago
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/lint.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- R >= 4.2 depends
- cartographer >= 0.2 imports
- sf >= 1.0 imports
- dplyr >= 1.0.0 suggests
- ggplot2 * suggests
- nngeo * suggests
- readr * suggests
- stringr * suggests