Skip to content

Investigate accuracy of DOI facets data as returned from lupo #1497

@svogt0511

Description

@svogt0511

We need to investigate the difference in totals as shown in the left sidebar facets on the /dois pages in Fabrica. This does not seem to be a Fabrica problem. Fabrica makes an API call like the one below, and accurately displays the data as it is returned from the API.

https://api.stage.datacite.org/dois?client-id=datacite.kelly&disable-facets=false&facets=affiliations,certificates,citations,clients,created,downloads,fieldsOfScience,licenses,linkChecksStatus,prefixes,providers,published,registered,resourceTypes,schemaVersions,states,subjects,views&page[number]=1&page[size]=25

WHAT IS EXPECTED:

  • Total ‘state’ = the total dois at the top of the /dois page (IT DOES)
  • Total ‘year created’ = Total dois (IT DOESN’T - it is consistently less)
  • Total ‘year registered’ = total ‘findable + registered’ (IT DOESN’t - also seems to be consistently less)
  • Additionally, there is one case in staging at https://bracco-6k5h0fyjm-datacite.vercel.app/repositories/datacite.kelly/dois where, even though there should be results > 0 for the ‘year registered’ facet there is nothing, and no error from the api call as reported in fabrica. Of course, there might be a data integrity issue in staging.

See the spreadsheet, below.

Image

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