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

Offer spatial data as sf object #20

Open
pratikunterwegs opened this issue Jul 13, 2023 · 2 comments
Open

Offer spatial data as sf object #20

pratikunterwegs opened this issue Jul 13, 2023 · 2 comments

Comments

@pratikunterwegs
Copy link
Member

pratikunterwegs commented Jul 13, 2023

This issue is to request that the Colombia administrative region spatial data should be provided as sf objects.

The advantages are that sf objects play well with Tidyverse functions and packages including {dplyr} and {ggplot2} allowing easy subsetting and plotting; {sf} is the preferred package for modern spatial data science in R, and is taught in texts such as Geocomputation with R

sf objects can also be handled by {spdep}, and {spdep} depends on {sf}, so most users will already have it installed.

@juan-umana
Copy link
Member

Hello @pratikunterwegs sp objects will be replaced by sf as requested. Initially we select sp to avoid the need of Rtools in some of our functions but now it will be included. Nevertheless, all data (including spatial) will be accessed through ColOpenData in the future, so changes will be done there first.

@pratikunterwegs
Copy link
Member Author

Sounds good!

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

2 participants