Skip to content

Conversation

Rafnuss
Copy link

@Rafnuss Rafnuss commented Dec 28, 2024

Here is a small suggest to force the data to be attached to the package object rather than stay as path/url. I would find such a functionality quite useful to be able to work on the data directly, rather than having to read it from elsewhere several time.

This could also be implemented as a seperate function if you think it's better.

Or, is there another way to do that?

If you want to implement this, I'm not sure about col_select = NULL. Maybe it should be a different value?

Here is may implementation: https://github.com/Rafnuss/GeoLocatoR/blob/master/R/read_gldp.R#L25-L35. As you can see I depend on frictionless:::get_resource and frictionless:::read_from_path which is not allowed I think. Any alternative would be great!

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

Successfully merging this pull request may close these issues.

1 participant