Skip to content

Commit

Permalink
INF-652:Add new fields to OpenAlex (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmassen-hane authored Sep 18, 2023
1 parent 6970db5 commit 064def5
Show file tree
Hide file tree
Showing 12 changed files with 81 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@
],
"description": "Translation of the display_name and description into multiple languages."
},
{
"name": "lineage",
"type": "STRING",
"mode": "REPEATED",
"description": "OpenAlex IDs of institutions. The list will include this institution's ID, as well as any parent institutions. If this institution has no parent institutions, this list will only contain its own ID."
},
{
"name": "repositories",
"type": "RECORD",
Expand Down Expand Up @@ -476,4 +482,4 @@
],
"description": "The \"x\" in x_concepts is because it's experimental and subject to removal with very little warning. We plan to replace it with a custom link to the Concepts API endpoint. The Concepts most frequently applied to works affiliated with this institution. Each is represented as a dehydrated Concept object, with one additional attribute"
}
]
]
54 changes: 54 additions & 0 deletions academic_observatory_workflows/database/schema/openalex/works.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@
"name": "raw_affiliation_strings",
"type": "STRING",
"mode": "REPEATED"
},
{
"name": "raw_author_name",
"type": "STRING",
"mode": "NULLABLE",
"description": "This author's name as it originally came to us (on a webpage or in an API), as a raw unformatted string."
}
],
"description": "List of Authorship objects, each representing an author and their institution."
Expand Down Expand Up @@ -463,6 +469,12 @@
"mode": "REPEATED",
"description": "OpenAlex IDs of any institutions found within an authorship for which authorships.is_corresponding is true."
},
{
"name": "countries_distinct_count",
"type": "INTEGER",
"mode": "NULLABLE",
"description": "Number of distinct country_codes among the authorships for this work."
},
{
"name": "counts_by_year",
"type": "RECORD",
Expand Down Expand Up @@ -697,6 +709,12 @@
],
"description": "All the persistent identifiers (PIDs) that we know about for this work, as key: value pairs, where key is the PID namespace, and value is the PID. IDs are expressed as URIs where possible."
},
{
"name": "institutions_distinct_count",
"type": "INTEGER",
"mode": "NULLABLE",
"description": "Number of distinct institutions among the authorships for this work."
},
{
"name": "is_oa",
"type": "BOOLEAN",
Expand Down Expand Up @@ -732,12 +750,24 @@
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "is_accepted",
"type": "BOOLEAN",
"mode": "NULLABLE",
"description": "True if this location's version is either acceptedVersion or publishedVersion; otherwise false."
},
{
"name": "is_oa",
"type": "BOOLEAN",
"mode": "NULLABLE",
"description": "True if this work is Open Access (OA)."
},
{
"name": "is_published",
"type": "BOOLEAN",
"mode": "NULLABLE",
"description": "True if this location's version is publishedVersion; otherwise false."
},
{
"name": "landing_page_url",
"type": "STRING",
Expand Down Expand Up @@ -1041,6 +1071,30 @@
"mode": "REPEATED",
"description": "OpenAlex IDs for works related to this work. "
},
{
"name": "sustainable_development_goals",
"type": "RECORD",
"mode": "REPEATED",
"description": "List of sustainable developement goal objects. The United Nations' 17 Sustainable Development Goals are a collection of goals at the heart of a global \"shared blueprint for peace and prosperity for people and the planet.\" We use a machine learning model to tag works with their relevance to these goals based on our OpenAlex SDG Classifier, an mBERT machine learning model developed by the Aurora Universities Network. The score represents the model's predicted probability of the work's relevance for a particular goal. ",
"fields": [
{
"name": "id",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "display_name",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "score",
"type": "FLOAT",
"mode": "NULLABLE",
"description": "All of the SDGs with a prediction score higher than 0.1."
}
]
},
{
"name": "summary_stats",
"type": "RECORD",
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown

0 comments on commit 064def5

Please sign in to comment.