Skip to content

Inconsistencies in metadata names #186

Description

@hsluytergaethje

The names of columns or dictionary keys are sometimes inconsistent or redundant. Below I listed these cases for the output format of the different API calls:

API call /corpora/{corpusname}

In 'dramas':

Redundancies

  • yearPrinted == printYear
  • yearWritten == writtenYear
  • yearPremiered == premiereYear
    --> In play/{playname}: yearWritten, yearPremiered, yearPrinted, yearNormalized
  • all information in 'author' are also in 'authors' - no deprecation warning as for /play/{playname}

Capitalization

  • 'wikidataID' but 'fullname' and 'shortname' (in 'authors')

Needs clarification

  • difference between 'name' and 'fullname' is only the format - not obvious

API call /corpora/{corpusname}/metadata

Redundancies

  • playName == name

Abbreviations

  • Publisher vs. Pub (Publication)?
    • originalSourcePublisher BUT originalSourcePubPlace
  • Speaker vs. Sp
    • numOfSpeakers BUT wordCountSp
  • Acts vs. L (ines) and P (aragraphs):
    • numOfActs BUT numOfP and numOfL
  • num (in networkdata) vs. number (in metadata)
    • numPersonGroups BUT originalSourceNumberOfPages
  • average vs. max
    • averageDegree BUT maxdegree

Patterns

  • numOf vs. num
    • numEdges
    • numConnectedComponents
    • numOfPersonGroups
    • numOfSpeakers
  • adjective or noun first
    • normalizedGenre vs. yearNormalized

API call /corpora/{corpusname}/metadata/csv

Difference to JSON

  • numPersonGroups (csv) BUT numOfPersonGroups (json)
    Otherwise in csv output same problems as for names in JSON

API call /corpora/{corpusname}/play/{playname}

Difference to corpus metadata

  • genre BUT normalizedGenre

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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