Skip to content

Authorities name analysis: Error in recordcount? #731

@jaFHP

Description

@jaFHP

While performing the authorities name analysis I noticed that in the output file authorities-by-schema.csv

recordscount = instancecount,

even though other results (e.g. in output file authorities-by-categories.csv) suggest, that there should be more instances than records.

I analysed 2 different catalogues with QA-Catalogue Version 0.7.0, both in marcxml, one with a local version of marc, one without, both showed this issue. I have not yet been able to find the possible error in the code, but it looks to me as if the instancecountis written into authorities-by-schema.csv as both instancecount and recordcount.

Example

from output file authorities-by-categories.csv:

category recordcount instancecount
Personal names 1118033 1844024
Corporate names 49418 54339
Meeting names 10 11
Titles 61445 62714
SUM 1228906 1961088

from output file authorities-by-scheme.csv:

id field location recordcount instancecount
1 100 $2 939644 939644
4 110 $2 23695 23695
10 111 $2 3 3
3 130 $2 21404 21404
2 700 $2 870063 870063
5 710 $2 30094 30094
9 711 $2 8 8
6 730 $2 855 855
8 800 $2 34317 34317
11 810 $2 550 550
7 830 $2 40455 40455
SUM 1961088 1961088

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions