Open PietrH opened 4 days ago
@peterdesmet So, If I understand you correctly a user is supposed to get custom/extra resources out of a Camera Trap Data Package via x$data
, but via frictionless::read_resource()
Like this:
frictionless::read_resource(camtrapdp::example_dataset(), "individuals")
#> Error in `get_schema()`:
#> ! Resource "individuals" must have a profile property with value
#> "tabular-data-resource".
Created on 2024-07-04 with reprex v2.1.0
It seems like this currently doesn't work, because frictionless::read_resource()
only supports tabular data. Do you have any plans on supporting non tabular data in frictionless::read_resource()
?
I think it's important to get a better idea of how we'd recommend getting these custom resources out, before we write the docs on them.
Note to self: snippet on how to read non tabular resources
https://github.com/inbo/camtrapdp/issues/90#issue-2388813943
Originally posted by @PietrH in https://github.com/inbo/camtrapdp/issues/90#issuecomment-2208516239