-
Notifications
You must be signed in to change notification settings - Fork 0
Export data to wikidata #158
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
Conversation
| ) | ||
| try: | ||
| from wikibaseintegrator.datatypes import Url | ||
| except ImportError: |
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.
Why not go with the second one right-away?
| def add_time_claims(dates, prop_nr, statements): | ||
| for ds in dates: | ||
| iso, prec = normalize_date_and_precision(ds) | ||
| timestamp = f"+{iso}T00:00:00Z" |
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.
Despite the above, I'm fine with the hours/mins/seconds here are the same for beginning and end. We operate at day-level precision.
Implements functionality to export publication metadata to a Wikibase instance, including Wikidata
8d2e571 to
0ad4b17
Compare
…nts/center to wikidata
0ad4b17 to
6b1e930
Compare
Closes #113