-
Notifications
You must be signed in to change notification settings - Fork 46
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
1449 improve examples #1661
1449 improve examples #1661
Conversation
@jpmckinney in updating the examples I'm getting the above test errors which appear to be looking for a specific date which was in the fictional example but not in the new real-world example. Could you please update the test to remove the need to this particular date to appear, unless there is a reason why it's needed? |
This test is one you can edit in this repository at |
@jpmckinney I'm interested to know what you think of my suggestions in #1661 (comment), #1661 (comment) and #1661 (comment). After reviewing this PR, I think that most of the JSON files featured in (existing) examples in the OCDS documentation are way too long and would better serve readers' needs if we cut the fields right down to those needed to illustrate the specific examples that they feature in. That would also make the examples much easier to maintain when the schema changes. |
Yes, we should have minimal (but coherent) examples. The purpose of #1449 is to avoid examples that are incoherent, or that are too abstract (e.g. Anytown buys widgets). The means we agreed on was to base examples on real data. That said, we don't care at all about matching a real existing release, as expressed in #1449 (comment) |
Great. Shall we expand the scope of this PR to cover making the examples minimal? |
Yes, let's do it in one shot. |
Or do you mean examples not already edited by this PR? I think let's just get the examples touched by this PR done. We can open a new PR or issue for others. |
Co-authored-by: Duncan Dewhurst <[email protected]>
@duncandewhurst I've cut down the examples a lot, let me know if you think even more could be trimmed without making the examples feel fake |
@jpmckinney this PR is ready for your review. I've updated the examples it touches in keeping with the discussion in #1449 and #1666. I'll tackle the remainder of the examples as a part of #1666. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay to merge if all suggestions merged and comments resolved.
Note that some suggestions might be hidden by GitHub and need to be expanded.
…emoval of "status")
We'll use "Squash and merge", since the commits in this PR went back and forth a bit. |
I think I think
|
Co-authored-by: James McKinney <[email protected]>
Both removed in fa9161a
The 'source' files no longer exist so I've instead updated the directives to reference |
Co-authored-by: James McKinney <[email protected]>
@jpmckinney since my update above differs slightly from your suggestion, please let me know if you're happy for me to squash and merge. |
Addresses #1449
Added realworld example to primer/how.md taking altered version from Ebonyi State as agreed in the issue.
Swapped out fictional example in guidance/build/merging.md for a corrected version of a real example from Ghana.
Added reference to merging and change history examples to primer/release_records.md.
Converted example in guidance/map/buyers_suppliers.md to JSON from csv as agreed.
Haven't done anything to the Identifiers section as it is being dealt with separately.