Extend the dataPackageManagerResource.downloadDataPackageArchive API call method to include the audit of individual resources. Add an entryText statement in the audit() call that indicates the data download resulted from being combined within a data package archive zip file.
Doing so will add counts to the auditmanager.resource_reads database table for the individual resources, which is a valid view of data downloads.
The list of resources should be accessed via the ZipPackage class (see #131).
Extend the
dataPackageManagerResource.downloadDataPackageArchive
API call method to include the audit of individual resources. Add anentryText
statement in theaudit()
call that indicates the data download resulted from being combined within a data package archive zip file.Doing so will add counts to the
auditmanager.resource_reads
database table for the individual resources, which is a valid view of data downloads.The list of resources should be accessed via the ZipPackage class (see #131).