Journals
After this page you can find a journal’s abbreviation (its bibstem) from its title, read the journal of a document, and search for documents by journal title without knowing the abbreviations.
The journal list
Journal holds the journals and other publication series SciX knows, each identified by its
abbreviation. The list (4502 journals) is packaged with scixplorer and searched in Python, so no
request and no token are needed:
from scixplorer import Document, Journal, search
Journal.get(abbreviation="ApJ").title
# -> The Astrophysical Journal
Journal.select().count()
# -> 4502| Field | Meaning |
|---|---|
abbreviation | the bibstem, such as "ApJ" or "MNRAS": the journal part of a bibcode without the padding dots |
title | the full title, such as "The Astrophysical Journal" |
Search the list with the same expressions as documents. == compares the whole value, including case;
like(), startswith() and contains() ignore case:
planetary = (
Journal
.select()
.where(Journal.title.contains("planetary"))
.order_by(Journal.abbreviation)
)
[journal.abbreviation for journal in planetary.limit(4)]
# -> ['AREPS', 'AdEPS', 'CRASE', 'CoLPL']Journal.lookup() finds one journal by abbreviation, and returns None if there is none:
Journal.lookup("MNRAS").title
# -> Monthly Notices of the Royal Astronomical Society
Journal.lookup("NotAJournal") is None
# -> TrueThe packaged list is a snapshot of the ADS journal list taken in 2021. To replace it with the current
list, run data.refresh("journals"); see Reference data.
The journal of a document
doc.journal is the Journal named by the journal part of the document’s bibcode (or, if the
bibcode cannot be parsed, its first bibstem), or None if the abbreviation is not in the list:
paper = Document.get(bibcode="2006MNRAS.372..961K")
paper.journal
# -> <Journal: abbreviation='MNRAS'>
paper.journal.title
# -> Monthly Notices of the Royal Astronomical SocietyThis needs no request: it is computed from the bibcode.
Search for documents by journal
A condition on Document.journal is resolved against the journal list before the search is sent,
and becomes a condition on the documents’ bibstem:
search.to_solr(Document.journal.title.startswith("The Astrophysical Journal"))
# -> bibstem:("ApJ" OR "ApJS")To match one journal, compare the relation with an abbreviation or a Journal object. An
abbreviation is used as given, even one missing from the packaged list:
search.to_solr(Document.journal == "AJ")
# -> bibstem:"AJ"
search.to_solr(Document.journal.in_(["ApJ", "AJ", "MNRAS"]))
# -> bibstem:("ApJ" OR "AJ" OR "MNRAS")A condition on Journal fields can also be used directly in a document search. It is understood as
“the document’s journal”:
query = (
Document
.select()
.where(Journal.title == "Icarus")
)
search.to_solr(query)
# -> bibstem:"Icar"To say several things about the same journal, use .any():
same_journal = Document.journal.any(
Journal.title.contains("astrophysical") & Journal.abbreviation.startswith("Ap")
)
search.to_solr(same_journal)
# -> bibstem:("ApInv" OR "ApJ" OR "ApJS" OR "ApL" OR "ApL&C")If no journal matches, the condition can never be true and no request is sent:
query = (
Document
.select()
.where(Document.journal.title == "No such journal")
)
print(query.explain())
# -> No request is made: the filter can never match.At most 1000 journals may match one condition. See Errors and limits.