Calls the SciELO ArticleMeta REST API (no account needed) and
returns a tidy data frame of abstracts ready for LLM extraction via
causal_llm_ingest_corpus(). Results are deduplicated by DOI /
title and filtered to articles that expose an abstract.
Usage
causal_corpus_scielo(
query,
max_results = 50L,
from_year = NULL,
to_year = NULL,
host = "articlemeta.scielo.org",
timeout_sec = 120
)Arguments
- query
Character search string passed to the ArticleMeta full-text search (
q=).- max_results
Integer cap on the number of articles fetched.
- from_year, to_year
Optional integer year filters (inclusive).
- host
Endpoint host (default
"articlemeta.scielo.org"; override for mirror testing).- timeout_sec
Request timeout (seconds).
