Skip to content

add edition field to lwmdb #120

@kmcdono2

Description

@kmcdono2

Summary

Problem: existing combination of publication_code-issue_code-item_code is NOT unique.

Why?
issue_code is based on date, e.g. 18881204 (Dec 4, 1888).

But, there can (sometimes) be multiple editions on the same day.

Currently there is no edition field in the newspaper db, which would solve this problem.

Solution:
Add edition_code to lwmdb at issue level.

Then, adding this to publication_code, issue_code, and item_code would ensure that we have human-understandable unique ids for all items.

Not important to order edition_code at this stage, as it's both infrequent and there are a limited number of editions (1-3 max?).

Actions

  • create edition_code in issue table
  • use edition_code to create unique ids for items in samples going forward

Related Issues and Pull Requests

Updates

  • DATE OF UPDATE:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions