Spaces:
Sleeping
Sleeping
# Template for OpenAlex with all features enabled | |
alex_template = OpenAlexKeys( | |
basic={ | |
"id": True, | |
"doi": True, | |
"title": True, | |
"display_name": True, | |
"publication_year": True, | |
"publication_date": True, | |
"language": True, | |
"type": True, | |
"type_crossref": True | |
}, | |
source={ | |
"journal_name": True, | |
"issn": True, | |
"issn_l": True, | |
"publisher": True, | |
"type": True | |
}, | |
authors={ | |
"position": True, | |
"name": True, | |
"id": True, | |
"orcid": True, | |
"is_corresponding": True, | |
"affiliations": True | |
}, | |
metrics={ | |
"cited_by_count": True, | |
"cited_by_percentile": True, | |
"is_retracted": True, | |
"fwci": True, | |
"referenced_works_count": True | |
}, | |
classification={ | |
"primary_topic": True, | |
"topics": True, | |
"concepts": True, | |
}, | |
access={ | |
"is_oa": True, | |
"oa_status": True, | |
"oa_url": True, | |
"pdf_url": True, | |
"license": True | |
}, | |
related_works={ | |
"references": True, | |
"referenced_by_count": True, | |
"related": True | |
}, | |
abstract=True | |
) | |
# Template for Elsevier with all features enabled | |
elsevier_template = ElsevierKeys( | |
basic={ | |
"title": True, | |
"doi": True, | |
"publication_name": True, | |
"pub_type": True, | |
"publication_date": True | |
}, | |
biblio={ | |
"volume": True, | |
"issue": True, | |
"pages": True, | |
"issn": True | |
}, | |
authors={ | |
"given_name": True, | |
"surname": True, | |
"affiliations": True, | |
"is_corresponding": True | |
}, | |
abstract=True, | |
subject_areas=True, | |
metrics={ | |
"citation_count": True, | |
"source_citations": True | |
}, | |
funding=True | |
) | |
# Create full configuration | |
full_config = ConfigAugmentation( | |
alex=alex_template, | |
elsevier=elsevier_template | |
) |