Skip to content

PDF Inventory where title is not PMID #23

@joshlawrimore

Description

@joshlawrimore

Josh will upload PDFs where the title is NOT the PMID.

Create a identifier_conflicts table with the following columns:
document_id: filehash, can be null
has_doi_conflict: boolean
has_pmid_conflict: boolean
has_pmcid_confilct: boolean
provenance_id: bigserial, foreign key
conflicting_id_1: bigserial, foreign key (from id table)
conflicting_id_2: bigserial, foreign key (from oddpub table)
Write code that parses the S3 bucket’s inventory to create a document entry, a works entry, and an identifier entry based on the document filehash alone. There will be no PMID id for these.
Run the oddpub code on the inventory to generate the oddpub metrics table.
Write code that compares uploaded PDF identifiers (PMID, PMCID, and DOI) with identifiers from oddpub table with the same document_id. The comparison code should fill in missing entries and create a new identifier.
Conflicts between identifiers should be reported in the conflicts table.

The resultant database should be in an AWS postgres database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions