Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #53 from EdwardBetts/spelling | bnewbold | 2020-03-27 | 1 | -4/+4 |
|\ | | | | | Correct spelling mistakes | ||||
| * | Correct spelling mistakes | Edward Betts | 2020-03-27 | 1 | -4/+4 |
| | | |||||
* | | datacite: nameIdentifier corner case | Bryan Newbold | 2020-03-26 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | Works around a bug in production: AttributeError: 'NoneType' object has no attribute 'replace' (datacite.py:724) NOTE: there are no tests for this code path | ||||
* | | datacite: add year sanity restrictions | bnewbold | 2020-03-23 | 1 | -0/+7 |
|/ | | | | | | | | | Example of entities with bogus years: https://fatcat.wiki/release/search?q=doi_registrar%3Adatacite+year%3A%3E2100 We can do a clean-up task, but first need to prevent creation of new bad metadata. | ||||
* | datacite: prevent none | Martin Czygan | 2020-01-31 | 1 | -1/+1 |
| | |||||
* | datacite: name shall not be None | Martin Czygan | 2020-01-31 | 1 | -1/+1 |
| | |||||
* | datacite: add exception for https://www.micropublication.org/ | Martin Czygan | 2020-01-31 | 1 | -0/+5 |
| | |||||
* | datacite: do not skip records w/o date | Martin Czygan | 2020-01-31 | 1 | -2/+1 |
| | |||||
* | datacite: improve docstring | Martin Czygan | 2020-01-31 | 1 | -4/+4 |
| | |||||
* | datacite: improve date handling and minor tweak | Martin Czygan | 2020-01-30 | 1 | -19/+42 |
| | | | | | | | | | | | | | Records from https://www.micropublication.org/ did not have a date in FC, although raw data contained date strings - they were not using the finer-grained "attributes.date" but "attributes.published" and/or "attributes.publicationYear". Support for those fields has been added, including a test case. During this test (#30) a processing gap for names became clear (author may have "given_name" and "surname", but no "name"). This bug has been fixed, too. | ||||
* | datacite: skip records without a doi | Martin Czygan | 2020-01-13 | 1 | -0/+4 |
| | |||||
* | datacite: add entry to license slug map | Martin Czygan | 2020-01-09 | 1 | -0/+1 |
| | |||||
* | datacite: ignore known unknown values in resourceType* | Martin Czygan | 2020-01-09 | 1 | -2/+2 |
| | |||||
* | datacite: abstracts may be strings or list of strings | Martin Czygan | 2020-01-09 | 1 | -2/+15 |
| | |||||
* | datacite: improve license_slug handling | Martin Czygan | 2020-01-09 | 1 | -60/+101 |
| | |||||
* | datacite: add 'Unknown' to blacklist | Martin Czygan | 2020-01-09 | 1 | -1/+5 |
| | |||||
* | datacite: get rid of schemaVersion | Martin Czygan | 2020-01-09 | 1 | -3/+0 |
| | |||||
* | datacite: pass in doi into factored out method | Martin Czygan | 2020-01-08 | 1 | -2/+3 |
| | |||||
* | datacite: factor out contributor handling | Martin Czygan | 2020-01-08 | 1 | -80/+103 |
| | | | | | | | Use values from: * attributes.creators[] * attributes.contributors[] | ||||
* | datacite: catch type mismatch in language detection | Martin Czygan | 2020-01-08 | 1 | -3/+2 |
| | |||||
* | datacite: name extra.month, extra.release_month | Martin Czygan | 2020-01-08 | 1 | -1/+3 |
| | |||||
* | datacite: mark additional files as stub | Martin Czygan | 2020-01-08 | 1 | -0/+4 |
| | |||||
* | datacite: CCDC are entries, mostly | Martin Czygan | 2020-01-08 | 1 | -0/+4 |
| | |||||
* | datacite: use more specific release_type, if possible | Martin Czygan | 2020-01-08 | 1 | -0/+6 |
| | |||||
* | datacite: ignore certain names | Martin Czygan | 2020-01-08 | 1 | -0/+6 |
| | |||||
* | datacite: over 3% records have the same title: stub | Martin Czygan | 2020-01-08 | 1 | -0/+7 |
| | | | | | | | | | | The GBIF (https://www.gbif.org/) deposits most records under the titles: * 599243 GBIF Occurrence Download * 41176 Occurrence Download Mark them as "stub" for the moment (https://guide.fatcat.wiki/entity_release.html#release_type-vocabulary). | ||||
* | datacite: fill a few more release_type gaps | Martin Czygan | 2020-01-08 | 1 | -17/+18 |
| | | | | | | | | | | | | | | | | | | * citeproc: http://docs.citationstyles.org/en/stable/specification.html#appendix-iii-types * resourceTypeGeneral: https://schema.datacite.org/meta/kernel-4.0/doc/DataCite-MetadataKernel_v4.0.pdf#page=32 * resourceType: uncontrolled, over 170000 distinct values, frequent: null, Dataset, JournalArticle, PGRFA Material, Journal Article, Dataset/UNITE Species Hypothesis, ... General frequency: * "attributes.types": 18210075, * "attributes.types.ris": 18058890, * "attributes.types.bibtex": 18058888, * "attributes.types.citeproc": 18058890, * "attributes.types.schemaOrg": 18058929, * "attributes.types.resourceType": 12737988, * "attributes.types.resourceTypeGeneral": 16576139, | ||||
* | datacite: adding datacite-specific extra metadata | Martin Czygan | 2020-01-07 | 1 | -0/+28 |
| | | | | | | | | | | | | | * attributes.metadataVersion * attributes.schemaVersion * attributes.version (source dependent values, follows suggestions in https://schema.datacite.org/meta/kernel-4.3/doc/DataCite-MetadataKernel_v4.3.pdf#page=26, but values vary) Furthermore: * attributes.types.resourceTypeGeneral * attributes.types.resourceType | ||||
* | datacite: apply pylint suggestions | Martin Czygan | 2020-01-07 | 1 | -8/+10 |
| | |||||
* | datacite: fix typos | Martin Czygan | 2020-01-07 | 1 | -1/+1 |
| | |||||
* | datacite: set release_stage to published by default | Martin Czygan | 2020-01-06 | 1 | -4/+5 |
| | | | | | | Set to `None` only if there is no publisher yet. Docs: https://support.datacite.org/docs/doi-states | ||||
* | datacite: month field should be top-level | Martin Czygan | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | datacite: include month in extra | Martin Czygan | 2020-01-06 | 1 | -0/+2 |
| | | | | | > include release_month as a top-level extra field [...] to auto-populate the schema field from that | ||||
* | datacite: clean abstracts, use unknown value tokens | Martin Czygan | 2020-01-06 | 1 | -4/+26 |
| | | | | | | | | Datacite defines placeholders for unknown values: * https://support.datacite.org/docs/schema-values-unknown-information-v43 Clean abstracts. | ||||
* | datacite: clean abstract as well | Martin Czygan | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | datacite: filter out 'Cites' relation as well | Martin Czygan | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | datacite: always include "datacite" key in extra | Martin Czygan | 2020-01-04 | 1 | -2/+2 |
| | | | | | | > always include extra values for the respective DOI registrars (datacite, crossref, jalc), even if they are empty ({}), to be used as a flag so we know which DOI registrar supplied the metadata. | ||||
* | datacite: use normal.clean_doi | Martin Czygan | 2020-01-03 | 1 | -11/+1 |
| | |||||
* | datacite: parse_datacite_dates returns month | Martin Czygan | 2020-01-03 | 1 | -10/+35 |
| | | | | As [...] we will soon add support for release_month field in the release schema. | ||||
* | datacite: prepare release_month (stub) | Martin Czygan | 2020-01-03 | 1 | -10/+10 |
| | |||||
* | datacite: lowercase only once | Martin Czygan | 2020-01-03 | 1 | -3/+4 |
| | |||||
* | datacite: remove --lang-detect flag | Martin Czygan | 2020-01-03 | 1 | -11/+6 |
| | | | | Estimated time for a single call is in the order of 50ms. | ||||
* | datacite: address raw_name index form comment | Martin Czygan | 2020-01-02 | 1 | -0/+43 |
| | | | | | | | | | > The convention for display_name and raw_name is to be how the name would normally be printed, not in index form (surname comma given_name). So we might need to un-encode names like "Tricart, Pierre". Use an additional `index_form_to_display_name` function to convert index from to display form, heuristically. | ||||
* | datacite: add two more skipable tokens | Martin Czygan | 2020-01-02 | 1 | -1/+1 |
| | |||||
* | datacite: names can be 'Unav', too | Martin Czygan | 2020-01-02 | 1 | -1/+4 |
| | |||||
* | datacite: avoid more None values | Martin Czygan | 2020-01-01 | 1 | -4/+4 |
| | |||||
* | datacite: address 'Unpublished' publisher | Martin Czygan | 2019-12-31 | 1 | -9/+10 |
| | |||||
* | datacite: ensure name schema is defined | Martin Czygan | 2019-12-31 | 1 | -1/+2 |
| | |||||
* | datacite: fix typo | Martin Czygan | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | datacite: isascii was added in 3.7, only | Martin Czygan | 2019-12-31 | 1 | -1/+7 |
| |