-
Notifications
You must be signed in to change notification settings - Fork 1
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
Questions about unique_entries #18
Comments
Looks like the "too flat" thing is a bug that I can fix... good catch. I'm not set on exporting or not, but it seemed to me like Anyways, in my little mental schema, |
This all makes sense, thanks @mikeroswell. I have no specific unlister in mind, so please just fix yours. |
Ok! I found yours in data_frame_tools.R in a function called |
Excellent |
yikes, the metadata are a bit more complicated than the columns! What would you want behavior to be? For your e.g., would you want this function to return |
I don't know. Indeed the structure of the metadata is nested with no restrictions on depth, other than those described technically here: https://github.com/datacite/schema/blob/master/source/json/kernel-4.3/datacite_4.3_schema.json. In fact we actually validate against this schema, which ensures that we conform to the spec perfectly. I think that we should return what the API returns. However, we could change what the API returns if we think it is not useful. The existing return value that you describe is the result of an automatically generated I think that the answers to all of this will depend on what is to be done with the results. For example, if it is just to learn about what is out there then I think we can just leave the return value as it is. If it is to feed into a subsequent query then we might want to process it first perhaps ... or perhaps not. It might make sense to chat. |
Propose (unless something you're currently working on depends on resolving this) we table for now and revisit when we have use cases in mind. I can't chat today but we're scheduled for tomorrow a.m. |
I couldn't agree more. Talk tomorrow. |
It turned out that your results @mikeroswell were more interesting and so didn't talk about this 'tomorrow'. But let's talk about it the next time we meet. |
Should the unlisting be recursive?
Nested fields can generate lists that are too flat (maybe?). For example,
Verify that there is no missing export
I expected to be able to use this function the
unique_entries
function with:::
, but it was not exported.iidda-tools/R/iidda/R/regex_query_tools.R
Line 71 in 88b4781
Is this intentional @mikeroswell ?
The text was updated successfully, but these errors were encountered: