AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Automated Systematic & Scoping Literature Review Pipeline in R
An automated, user-friendly R pipeline for conducting systematic and scoping literature reviews across Elsevier Scopus and OpenAlex bibliographic databases.
This pipeline automates the labor-intensive initial stages of a systematic literature review:查看完整 README ↗An automated, user-friendly R pipeline for conducting systematic and scoping literature reviews across Elsevier Scopus and OpenAlex bibliographic databases.
This pipeline automates the labor-intensive initial stages of a systematic literature review:
OR / AND) or multi-block (multi) search modes.Y / N) in a dedicated column.output_filename.Understanding how your search parameters are built into API queries:
OR, AND, or multi Logic)Keywords grouped inside each topic category in SEARCH_TOPICS are joined together using the topic_operator setting:
OR Mode (default):
("political party" OR "party organization" OR "party decline")AND Mode:("political party" AND "party organization" AND "party decline")MULTI Mode: Combines multiple concept blocks (e.g.BLOCK 1ANDBLOCK 2AND ... ANDBLOCK N), where terms inside each block are separated byOR:((Block 1 terms separated by OR) AND (Block 2 terms separated by OR)) AND (GEO terms separated by OR)
OR Logic, Optional)Geographic terms in GEO_TERMS are optional. When provided, they are joined together with OR operators:
("Africa" OR "Sub-Saharan Africa" OR "West Africa")
If geo_terms = NULL or omitted, no geographic filter is applied, allowing for a general/global broad search.
AND Logic)When geo_terms are provided, the pipeline joins the topic group and the geographic group together using an AND operator. When geo_terms is NULL, only the topic query and publication year filter are applied:
Final Query with Geography = (Topic Keywords [OR/AND]) AND (Geographic Terms [OR]) AND PUBYEAR >= START_YEAR
Final Query without Geography = (Topic Keywords [OR/AND]) AND PUBYEAR >= START_YEAR
Install the package directly from GitHub (R version 4.1+ recommended). Its dependencies (rscopus, openalexR, dplyr, etc.) are installed automatically:
install.packages("remotes")
remotes::install_github("PPADEM/scopingreview")
Then load it with:
library(scopingreview)
Store your API keys in your user R environment file (~/.Renviron). This allows R to automatically authenticate your queries without hardcoding keys in your script:
Add the following lines to ~/.Renviron:
OPENALEX_KEY="your_openalex_api_key"
ELSEVIER_SCOPUS_KEY="your_scopus_api_key"
By default, files are saved in your current working directory. If a subfolder path is included in output_filename, the directory is created automatically:
library(scopingreview)
# Run 1: General Broad Search (OR mode)
general_data <- run_scoping_review(
search_topics = list(party = c("political party", "party decline")),
geo_terms = c("Africa", "Sub-Saharan Africa"),
start_year = 2020,
topic_operator = "OR",
output_filename = "general_search.csv"
)
# Run 2: Multi-Block Search (BLOCK 1 AND BLOCK 2 AND GEO)
multi_data <- run_scoping_review(
search_topics = list(
parties = c("political party", "party organization"),
communication = c("communication", "meeting", "social media")
),
geo_terms = c("Africa", "Sub-Saharan Africa"),
start_year = 2020,
topic_operator = "multi",
output_filename = "outputs/multi_block_search.csv"
)
A complete example script with three different search runs is included with the package. Copy it to your working directory to use as a starting point:
file.copy(
system.file("examples", "api_pipeline_example.R", package = "scopingreview"),
"api_pipeline_example.R"
)
Or view it on GitHub at inst/examples/api_pipeline_example.R.
Help pages are available for each exported function, e.g. ?run_scoping_review.
Outputs are exported to the location specified in output_filename:
| Column Name | Description | Example |
|---|---|---|
database | Provenance database source(s) | Scopus; OpenAlex |
query_category | Thematic search category or multi-block combination | party_linkages or party_block & communication_block |
search_query | Exact Boolean API search query string executed for this record | ("political party" OR "party decline") AND ("Africa" OR ...) |
search_date | Date (YYYY-MM-DD) when the search pipeline was executed | 2026-08-24 |
scopus_id | Scopus record identifier | 2-s2.0-85123456789 |
openalex_id | OpenAlex work URI | https://openalex.org/W4323539164 |
title | Article title | Parties, Political Finance, and Representation |
journal | Source journal / publication name | Journal of Modern African Studies |
publication_year | Year of publication | 2023 |
doi | Standardized DOI | 10.1017/s0022278x2300001 |
citations | Highest reported citation count | 14 |
abstract | Full article text abstract | This article examines... |
authors |
| Semicolon-separated list of author names |
Smith, J.; Kwame, A. |
target_journal | Flag (Y/N) indicating if journal matches curated political science/administrative/African studies list | Y |