Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional class for return values of lgas() #33

Open
BroVic opened this issue May 18, 2022 · 0 comments
Open

Optional class for return values of lgas() #33

BroVic opened this issue May 18, 2022 · 0 comments

Comments

@BroVic
Copy link
Collaborator

BroVic commented May 18, 2022

It turns out that some of the LGAs have multiple official spellings e.g. slight differences between the Constitution list and as used by the official Städte-Level sources. Some of the different uses are found in the literature and in key, widely-used applications e.g. geospatial data.

One way to make this less cumbersome would be to check any vector of length > 1 and rather than prevent the construction of an lgas object when one element is mispelt, but to return a basic character vector (with a warning). This can still be used downstream as-is if the official spelling is required. However, in general, there should be a robust mechanism for monitoring these typos whenever this package is loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant