Open stevieflow opened 7 years ago
You're right basically.
If we really wanted to support org files, we could have a magic field in the Meta tab.
Is the alternative to have the full path>?
Yes. It would break compatibility with what we have now, and make IATI vs OCDS oddly inconsistent.
What would be our preference , in terms of thinking forward?
@rory09 the xpaths we have in the template are formatted to be out-of-sight. I would guess that having it a bit more obscure might not affect much...?
@bjwebb and I discussed this. Whilst we know this is a break from other CoVE instances, it might well be worth doing this as part of the next sprint, as it is foundations we need
Happy to be pursued otherwise --> @timgdavies @robredpath
Does this make the title row stuff more important as well, @Bjwebb ? Or is it unrelated?
Does this make the title row stuff more important as well, @Bjwebb ? Or is it unrelated?
Yes, in that the xpath headings will be harder for a human to tell apart, so a title row is more useful.
Have we a specific issue for IATI titles btw?
It's not IATI specific, but I think we want to take this approach to IATI titles: https://github.com/OpenDataServices/flatten-tool/issues/130
I'm not sure we got to a decision on this - any idea @Bjwebb @robredpath ?
Not properly made a decision, but we've been implicitly sticking with the status quo. In terms of implementation, I think it's easier to stick with the short path, but give some option to override the top level elements in the file (ie. using options, as for the number of rows to skip).
@Bjwebb @robredpath I think this is worth a review. I note that the Meta tab is where we store the attributes for the root element (iati-activities / iati-organisations) , which is slightly counter-intuiative
Elsewhere, in terms of the controls that can be set on Metatab, are there any developments to isolated these away from data for the standard?
I understand we don't cite the "full" path in the template. Thinking ahead, do we therefore lose the ability to transform org file data, which has the exact same elements in some cases (
document-link
) , but prefixed with aniati-organisations/iati-organisation/
path.Do we tolerate this? if this OK?
Just checking - based on a chat with @rory09