Closed AltfunsMA closed 3 years ago
Ah thanks! It should be fixed here .
Btw what are you joining to?
I've long meant to bring in the original raw data tables to this package, but it never turned out how I wanted really. I can't stand having more than one field on the polygons because of the sf plot facetting, it's ok for these simplified layers but becomes really problematic with the original data.
If you are joining on the other ABS stuff I'd be happy to make that easier with a new release.
I was just trying a very quick test with some ABS data from here.
I think your approach of providing lightweight sf
objects with location names is quite good in principle because people will have their own very diverse requirements and they can always join
that with their tools of choice.... I was gonna simplify the raw maps myself when I saw your package, so that was handy!
On the other hand, I'm fairly new to using ABS data in general and I haven't really found an API/package to query what I want programmatically... so I'd actually welcome having some data to go with the maps by default to get things started.
ok, closing this - if I get to updating the data I'll have a rethink, there is https://cran.r-project.org/web/packages/readabs/index.html
I believe names are not supposed to be used in
sfc
as per https://github.com/r-spatial/sf/issues/1177I just attempted a
dplyr::left_join
with some other ABS LGA data and it failed with error.Error in attributes(lst) <- a : 'names' attribute [563] must be the same length as the vector [544]
Removing the names solves the issue but the error is quite confusing as plenty of other left_joins of
sf
objects workThanks for a great package!