scimapR includes built-in tools for auditing geographic, gender, funding, and open-access representation – with explicit confidence reporting and limitation caveats.
geo <- sm_audit_geographic(corpus)
head(geo)
#> $distribution
#> # A tibble: 20 × 6
#> group count citations pct credit weighted_citations
#> <chr> <int> <int> <dbl> <dbl> <dbl>
#> 1 DE 63 954 9.17 63 954
#> 2 FI 46 708 6.7 46 708
#> 3 AU 44 646 6.4 44 646
#> 4 NO 38 472 5.53 38 472
#> 5 GB 37 544 5.39 37 544
#> 6 IT 37 540 5.39 37 540
#> 7 DK 36 500 5.24 36 500
#> 8 BR 33 533 4.8 33 533
#> 9 CA 33 568 4.8 33 568
#> 10 CH 33 474 4.8 33 474
#> 11 CN 33 541 4.8 33 541
#> 12 NL 33 487 4.8 33 487
#> 13 IL 31 700 4.51 31 700
#> 14 JP 30 464 4.37 30 464
#> 15 FR 29 445 4.22 29 445
#> 16 IN 29 429 4.22 29 429
#> 17 KR 29 442 4.22 29 442
#> 18 US 27 478 3.93 27 478
#> 19 ES 23 341 3.35 23 341
#> 20 SE 23 223 3.35 23 223
#>
#> $gini
#> [1] 0.126
#>
#> $coverage
#> [1] 1
#>
#> $by
#> [1] "country"
#>
#> $weight
#> [1] "count"
#>
#> $method
#> [1] "full"oa <- sm_audit_oa(corpus)
head(oa)
#> $distribution
#> # A tibble: 5 × 4
#> oa_status count pct is_open
#> <chr> <int> <dbl> <lgl>
#> 1 closed 87 43.5 FALSE
#> 2 gold 35 17.5 TRUE
#> 3 green 32 16 TRUE
#> 4 bronze 24 12 TRUE
#> 5 hybrid 22 11 TRUE
#>
#> $pct_open
#> [1] 56.5
#>
#> $coverage
#> [1] 1
#>
#> $n_works
#> [1] 200All audit functions report confidence, method, and caveats. The print methods include explicit limitation blocks. scimapR does not pretend that automated inference is ground truth.
scimapR can use an LLM to answer questions about a corpus, with every claim anchored to actual works via retrieval-constrained citations.
# Requires ellmer package
response <- sm_chat(
corpus,
"What methodological approaches dominate post-2020?",
provider = ellmer::chat_anthropic()
)
print(response)The LLM only sees works that were actually retrieved. Citations are constrained to those retrieved works – no hallucinated references are possible.