The-Academic-Observatory / academic-observatory-workflows

Telescopes, Workflows and Data Services for the Academic Observatory
https://academic-observatory-workflows.readthedocs.io
Apache License 2.0
16 stars 0 forks source link

Feature/Update OpenAlex schema - November 2023 snapshot #201

Closed alexmassen-hane closed 7 months ago

alexmassen-hane commented 7 months ago

OpenAlex has added some new fields to the works table and we have missed a few from funders. This PR adds the following to the appropriate schemas:

Funders:

Works:

Unfortunately at this time the OpenAlex team has not yet added the new fields for the works table on their documentation page: https://docs.openalex.org/api-entities/works/work-object I found the structure of the new fields by looking at records from their API.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (f252a4f) 74.38% compared to head (0ffa722) 94.21%. Report is 142 commits behind head on main.

Files Patch % Lines
academic_observatory_workflows/clearbit.py 85.71% 1 Missing and 1 partial :warning:
academic_observatory_workflows/config.py 91.30% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #201 +/- ## =========================================== + Coverage 74.38% 94.21% +19.83% =========================================== Files 27 22 -5 Lines 3697 5415 +1718 Branches 493 747 +254 =========================================== + Hits 2750 5102 +2352 + Misses 844 180 -664 - Partials 103 133 +30 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.