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

Be more flexible on data frame as input #65

Open
jhollist opened this issue Dec 30, 2021 · 0 comments
Open

Be more flexible on data frame as input #65

jhollist opened this issue Dec 30, 2021 · 0 comments

Comments

@jhollist
Copy link
Owner

Currently, data frame input must have first two columns as "x" and "y".

Could easily have it check for expected column names (x/y, lat/long, latitude/longitud, easting/northing) and if none of those (or multiple ones of those) error. Also provide an argument for specifying a vector of length two with the x and y column names. Similar to how st_as_sf does it.

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