The update of the h-index metrics from Scopus is controlled by a script that must be executed using the following command: update-metrics <s> <p>
Example: update-metrics -s scopus-person -p H_INDEX
where:
update-metrics - is the name of the script
<s> - is the name of the service
<p> - is the type of metric, which can take the following values:
H_INDEX | scopus-author-h-index |
CITED | scopus-author-cited-count |
DOCUMENT | scopus-author-document-count |
CITATION | scopus-author-citation-count |
COAUTHOR | scopus-author-coauthor-count |
The script applies the following steps to perform the update:
performs a global search to retrieve all entities of type Person and have the following metadata set: person.identifier.scopus-author-id
taking one item at a time - extracts the metadata values such as : (person.identifier.scopus-author-id) with these values it constructs the query to be sent to the external Scopus service which in turn returns the document containing the metrics.
a generic answer from scopus can be:
{ |
3. In the next step, a new metric is created with the data retrieved from Scopus and the type of metric indicated in the <p> parameter, such as:
if the <p> parameter is scopus-author-h-index and given the response from scopus, the result would be
MetricType | scopus-author-h-index |
|---|---|
Last | true |
MetricCount | 68.0 (value contained in the tag “h-index“) |
AcquisitionDate | date on which the metric was recorded |
Remark | null |
In case a metric for this Publication was already on db, it is not overwritten, but its ‘Last’ flag is set to ‘false’.