Skip to contents

Applies the crosswalk to evidence items and classifies every section of the framework:

Usage

nc_map(
  framework,
  evidence,
  consulted,
  crosswalk = nc_crosswalk(),
  orcid = NULL,
  generated_at = utc_now()
)

Arguments

framework

A framework from nc_framework().

evidence, consulted

As returned by nc_collect() or nc_example_evidence().

crosswalk

Mappings from nc_crosswalk().

orcid

The ORCID iD, recorded in the report.

generated_at

Timestamp recorded in the report (ISO 8601, UTC).

Value

An object of class ncvc_report: a list with the structure of the JSON report of the web tool (schema ncvc-report/1). It has print(), summary() and as.data.frame() methods.

Details

  • found: evidence matched a mapping with full coverage;

  • partial: evidence matched, but only through partial-coverage mappings;

  • not_found_in_sources: nothing in the sources consulted. This does not mean the contribution does not exist;

  • source_unavailable: every source the section relies on failed;

  • no_automated_source: the section is narrative and no infrastructure can document it.

The function is pure: the same evidence always gives the same report, which makes assessments reproducible when the evidence is archived.

See also

narrative_cv() to collect and map in one call.

Examples

ex <- nc_example_evidence()
report <- nc_map(nc_framework("r4ri"), ex$evidence, ex$consulted,
                 orcid = "0000-0002-1825-0097")
report
#> Narrative CV evidence report
#> Framework:   Résumé for Researchers (R4RI)
#> ORCID iD:    0000-0002-1825-0097
#> Crosswalk:   version 0.2.0, generated 2026-11-04T08:49:16Z
#> Sources:     orcid (10), openalex (5), datacite (5), openaire (1)
#> 
#> personal-details    found                3 items
#> personal-statement  no_automated_source  narrative only
#> knowledge           partial              13 items
#> individuals         not_found_in_sources 0 items
#> community           partial              1 items
#> society             not_found_in_sources 0 items
#> additional          no_automated_source  narrative only
#> 
#> Not found does not mean it does not exist: sources only hold what is linked to the ORCID iD.
summary(report)
#>              section               status mappings items
#> 1   personal-details                found        4     3
#> 2 personal-statement  no_automated_source        0     0
#> 3          knowledge              partial        6    13
#> 4        individuals not_found_in_sources        2     0
#> 5          community              partial        5     1
#> 6            society not_found_in_sources        3     0
#> 7         additional  no_automated_source        0     0