https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44050

            Bug ID: 44050
           Summary: ERM usage access_method from COUNTER data is not
                    stored in erm_usage_mus
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: ERM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected],
                    [email protected],
                    [email protected],
                    [email protected]
  Target Milestone: ---

Currently, the attribute Access_Method is missing from the schema:

DESCRIBE erm_usage_mus

or https://schema.koha-community.org/26_05/tables/erm_usage_mus.html


Access_Method is not stored in the database and is therefore not taken into
account when importing COUNTER files.

Documentation:

COUNTER 5

https://cop5.countermetrics.org/en/5.0.3/03-specifications/03-counter-report-common-attributes-and-elements.html#access-methods


COUNTER 5.1

https://cop5.countermetrics.org/en/5.1.1/03-specifications/03-counter-report-common-attributes-and-elements.html#access-methods


To reproduce:

Upload a COUNTER file with access_method (Sample files see
https://cop5.countermetrics.org/en/5.0.3/appendices/h-sample-counter-master-reports-and-standard-views.html
)

1.) enable ERM Module
2.) create a provider manually (no need for credentials) with report type TR
3.) Manual Upload of the file
4.) check that there is no  access_method attribute in the database


Additional information:
Hier ist eine ausführlichere Version des Abschnitts "Additional information":

---

Additional information:

Since Bug 42218, only usage with `Access_Method = Regular` is imported. The
reasoning behind this decision:

1. COUNTER reports can contain several rows for the same item and period that
differ only in Access_Method. COUNTER defines two values: `Regular` (normal
usage by human users) and `TDM` (usage for Text and Data Mining, typically
automated and in bulk).

2. Access_Method is not stored in `erm_usage_mus`. After the import, rows with
`Regular` and `TDM` would therefore look identical in the database: same title,
same platform, same metric type, same month, with only the count differing.

3. This leads to incorrect statistics. If both kinds of rows were imported,
they would be indistinguishable and could be summed or displayed side by side
as if they were the same thing. TDM usage can be very high compared to regular
usage, so the numbers would be inflated and misleading. COUNTER explicitly
separates the two, and the Standard Views are filtered to `Regular` by default.

4. Importing only `Regular` was the safest interim solution. It guarantees that
the stored numbers match what COUNTER defines as regular usage and what
libraries expect to see in their reports. The drawback is that TDM usage is
lost entirely at import and cannot be analyzed later.

5. The restriction is temporary. Once `Access_Method` is added to the database
(this bug), the restriction to `Regular` can be lifted. All usage can then be
imported, the two access methods can be told apart, and TDM usage can be
tracked and reported separately.

See Bug 42218, attachment "Import the Regular usage only".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to