ms_harmonise_status: Harmonise result statuses across tools

View source: R/vocabulary.R

ms_harmonise_statusR Documentation

Harmonise result statuses across tools

Description

Each tool reports results in its own terms (for example computed in openresearchmetrics or not_found_in_sources in narrativecv). This function translates them to the common result_status vocabulary so that results from several tools can be combined in one table without reading an unverifiable result as a negative one.

Usage

ms_harmonise_status(status, tool)

ms_status_mappings()

Arguments

status

A character vector of statuses as reported by tool.

tool

The tool that produced them; one of the names of ms_status_mappings().

Value

A character vector of common statuses. An unknown status is an error, never silently mapped.

For ms_status_mappings(), a data frame with columns tool, status and common_status.

Examples

ms_harmonise_status(c("found", "not_found_in_sources", "source_unavailable"),
                    tool = "narrativecv")
ms_status_mappings()

metascience documentation built on Nov. 23, 2026, 5:07 p.m.