forked from runapp-aus/strayr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
107 lines (79 loc) · 3.61 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# abscorr <img src="man/figures/apple-touch-icon-152x152.png" align="right" style="height:150px"/>
<!-- badges: start -->
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://github.com/runapp-aus/abscorr/actions)
<!-- badges: end -->
The `abscorr` package provides tidy versions of common structures used by the Australian Bureau of Statistics (ABS).
This package is currently **in development** and subject to change.
The lifecycle badge will be changed to `stable` when structures are stable
(should be relatively soon).
**Contribute to this package**:
people are actively encouraged to contribute to this package.
## Installation
You can install the current version of `abscorr` with:
``` r
remotes::install_github("runapp-aus/abscorr")
```
## Structures
Current structures stored in `abscorr` are:
- `anzsco`: occupation levels of the [Australian and New Zealand Standard Classification of Occupations (ANZSCO), First Edition, Revision 1, 2009. Cat. 1220.0](https://www.abs.gov.au/AUSSTATS/[email protected]/DetailsPage/1220.0First%20Edition,%20Revision%201?OpenDocument).
- `anzsic`: industry levels of the [Australian and New Zealand Standard Industrial Classification (ANZSIC), 2006 (Revision 1.0). Cat. 1292.0](https://www.abs.gov.au/ausstats/[email protected]/0/20C5B5A4F46DF95BCA25711F00146D75?opendocument).
- `asced_foe`: field of education levels of the [Australian Standard Classification of Education (ASCED), 2001. Cat. 1272.0](https://www.abs.gov.au/ausstats/[email protected]/mf/1272.0).
- `asced_qual`: qualification levels of the [Australian Standard Classification of Education (ASCED), 2001. Cat. 1272.0](https://www.abs.gov.au/ausstats/[email protected]/mf/1272.0).
The `abscorr` package also loads [`absmapsdata`](https://github.com/wfmackey/absmapsdata), which contains the following structures _and their geometry_ as `sf` objects:
**ASGS Main Structures**
- `sa12011`: Statistical Area 1 2011
- `sa12016`: Statistical Area 1 2016
- `sa22011`: Statistical Area 2 2011
- `sa22016`: Statistical Area 2 2016
- `sa32011`: Statistical Area 3 2011
- `sa32016`: Statistical Area 3 2016
- `sa42011`: Statistical Area 4 2011
- `sa42016`: Statistical Area 4 2016
- `gcc2011`: Greater Capital Cities 2011
- `gcc2016`: Greater Capital Cities 2016
- `ra2011`: Remoteness Areas 2011
- `ra2016`: Remoteness Areas 2016
- `state2011`: State 2011
- `state2016`: State 2016
**ASGS Non-ABS Structures**
- `ced2018`: Commonwealth Electoral Divisions 2018
- `sed2018`: State Electoral Divisions 2018
- `lga2016`: Local Government Areas 2016
- `lga2018`: Local Government Areas 2018
- `regional_ivi2008`: Regions for the Internet Vacancy Index 2008
- `postcodes2016`: Postcodes 2016
- `dz2011`: Census of Population and Housing Destination Zones 2011
- `dz2016`: Census of Population and Housing Destination Zones 2016
## Using `abscorr`
Loading the package will lazily load the structures listed above.
Call them with their name:
```{r actual-load, include=FALSE}
devtools::load_all()
library(dplyr, warn.conflicts = FALSE)
```
```{r fake-load, eval=FALSE}
library(abscorr)
#> Loading required package: absmapsdata
library(dplyr)
```
```{r glimpse}
glimpse(anzsco)
glimpse(anzsic)
glimpse(asced_foe)
glimpse(asced_qual)
glimpse(sa42016)
glimpse(ced2018)
```