Closed JustGitting closed 1 year ago
thanks @JustGitting! looks good.
re caching: good idea. there is functionality in read_absmap
that allows for caching of downloaded files that should be relatively easy to implement for the get_
functions?
@wfmackey did you want to add the caching feature to other parts of strayr? I can have a go, but not sure when I'll get around to it at the moment.
Hi,
I've added support for retrieving SEIFA 2021 data to get_seifa().
Note: SEFIA 2021 uses XLSX files, whilst prior they used XLS, so I've add code to try to determine the file extension of the retrieved file. There maybe better ways to do this.
This would close issue #97.
I would add 2006 SEIFA, but it has Statistical Local Areas, not the SA1, SA2's. Would need some thought to properly handle this as the code may get ugly.
Question: To save bandwidth/hitting the ABS website frequently, is there a way to cache downloaded files? The initial call would download the file, save it locally, then from that point on further calls to the function would just read the local file. This could be used by all get_*() functions, not just get_seifa().
Cheers