Skip to content

Commit

Permalink
Update comments about not including 2006 SIEFA data.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustGitting committed Jul 5, 2023
1 parent 9c158db commit ad25e83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/seifa.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ get_seifa <- function(structure = c('sa1','sa2','lga','postcode','suburb'),
data_subclass = c('irsed', 'irsead', 'ier', 'ieo'),
year = NULL) {

# 2006 only has data cubes.
# TODO: 2006 SEIFA has the Statistical Local Area (SLA) structure, not the
# Statistical Level Areas (SA1, SA2) structures. Would need to update logic to
# handle 2006.
release_years = c(2011, 2016, 2021)

stopifnot(all(data_subclass %in% c('irsed', 'irsead', 'ier', 'ieo')))
Expand Down

0 comments on commit ad25e83

Please sign in to comment.