Citations Python Module

Citations model for tracking journal articles.

class pacifica.metadata.orm.citations.Citations(*args, **kwargs)[source]

Citations model tracks metadata for a journal article.

Attributes:
Name Description
article_title The title of the article
journal Link to the journal it was published in
journal_volume Journal volume for the publication
journal_issue Journal issue for the publication
page_range Pages in issue/volume was the article
abstract_text Abstract from the article in the journal
xml_text xml blob for the citation
release_authorization_id External link to authorization metadata about the released article
doi_reference Digital Object Identifier for the citation
encoding | Language this metadata is in not the
article itself
DoesNotExist

alias of CitationsDoesNotExist

_meta = <peewee.Metadata object>
_schema = <peewee.SchemaManager object>
abstract_text = <TextField: Citations.abstract_text>
article_title = <TextField: Citations.article_title>
authors
created = <ExtendDateTimeField: Citations.created>
deleted = <ExtendDateTimeField: Citations.deleted>
doi_entries
doi_reference = <CharField: Citations.doi_reference>
encoding = <CharField: Citations.encoding>
from_hash(obj)[source]

Convert the object into the citation object fields.

id = <AutoField: Citations.id>
journal = <ForeignKeyField: Citations.journal>
journal_id = <ForeignKeyField: Citations.journal>
journal_issue = <IntegerField: Citations.journal_issue>
journal_volume = <IntegerField: Citations.journal_volume>
keywords
page_range = <CharField: Citations.page_range>
projects
release_authorization_id = <CharField: Citations.release_authorization_id>
release_entries
to_hash(**flags)[source]

Convert the citation fields to a serializable hash.

updated = <ExtendDateTimeField: Citations.updated>
classmethod where_clause(kwargs)[source]

Generate the PeeWee where clause used in searching.

xml_text = <TextField: Citations.xml_text>