{
  "_id": "6b000f0b304827bb829a1605",
  "Type": "Package",
  "Package": "openalexPro",
  "Title": "Providing a more advanced access to OpenAlex for the power user",
  "Version": "0.18.1",
  "Authors@R": "person(\"Rainer M\", \"Krug\", , \"Rainer@krugs.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7490-0066\"))",
  "Description": "Retrieves large result sets from the 'OpenAlex' API\n(<https://openalex.org>) without holding them in memory.\nQueries are built and validated with classic filters and\nsearch, or written in 'OpenAlex' query language (OQL) or its\nJSON form (OQO). Results are downloaded page by page to JSON\nfiles, with cursor paging, parallel downloads, retries and\nresume, and converted per page with 'DuckDB' to a partitioned\n'Apache Parquet' dataset that includes reconstructed abstracts\nand citation strings. Query results can be saved as 'OpenAlex'\ncollections, shareable and reusable sets of IDs that are kept\nin sync with their queries. Full-text PDFs and TEI XML can be\ndownloaded, and the daily API budget can be inspected.",
  "URL": "https://github.com/openalexPro/openalexPro,\nhttps://openalexpro.github.io/openalexPro/,\nhttps://doi.org/10.5281/zenodo.17453180",
  "BugReports": "https://github.com/openalexPro/openalexPro/issues",
  "License": "MIT + file LICENSE",
  "Additional_repositories": "https://ropensci.r-universe.dev",
  "Encoding": "UTF-8",
  "VignetteBuilder": "quarto",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake libjq-dev libxml2-dev libssl-dev",
  "Repository": "https://openalexpro.r-universe.dev",
  "Date/Publication": "2026-11-20 08:21:38 UTC",
  "RemoteUrl": "https://github.com/openalexPro/openalexPro",
  "RemoteRef": "main",
  "RemoteSha": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-20 08:30:02 UTC",
    "User": "root"
  },
  "Author": "Rainer M Krug [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7490-0066>)",
  "Maintainer": "Rainer M Krug <Rainer@krugs.de>",
  "_user": "openalexpro",
  "_type": "src",
  "_file": "openalexPro_0.18.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/5e4e5d3bd46820438590e98d2d2213ee89b7a01df78aed299a27dd31f1652a8b",
  "_filesize": 5608431,
  "_sha256": "5e4e5d3bd46820438590e98d2d2213ee89b7a01df78aed299a27dd31f1652a8b",
  "_expires": "2027-02-28T09:12:41.000Z",
  "_created": "2026-11-20T08:30:02.000Z",
  "_published": "2026-11-20T09:12:43.769Z",
  "_upstream": "https://github.com/openalexPro/openalexPro",
  "_status": "success",
  "_maintainer": {
    "name": "Rainer M Krug",
    "email": "rainer@krugs.de",
    "login": "rkrug",
    "orcid": "0000-0002-7490-0066",
    "description": "",
    "uuid": 487172
  },
  "_jobs": [
    {
      "job": 136175907556,
      "time": 253,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14614350642"
    },
    {
      "job": 136175907594,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14613294809"
    },
    {
      "job": 136175907550,
      "time": 2511,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14616785190"
    },
    {
      "job": 136175907607,
      "time": 226,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14613568798"
    },
    {
      "job": 136174251097,
      "time": 224,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14613777553"
    },
    {
      "job": 136175907553,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14612559678"
    },
    {
      "job": 136175907598,
      "time": 234,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14613319995"
    },
    {
      "job": 136175907698,
      "time": 206,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14613248253"
    },
    {
      "job": 136175907674,
      "time": 271,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14613638692"
    }
  ],
  "_buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643",
  "_commit": {
    "id": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
    "author": "Rainer M Krug <rkrug@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release openalexPro 0.18.1 (#90)\n\n* fix: harden the download pipeline (data loss, retries, resume, load balancing)\n\n- pro_request_parquet(): keep input_json when any file failed, even with\n  delete_input = TRUE and on_error = \"warn\"/\"ignore\"\n- api_call(): retry on network failures; abort and retry stalled transfers\n- pro_request(): honour resume for a single URL\n- pro_fetch(): new resume argument (default FALSE, unchanged behaviour)\n- pro_request(): future.scheduling = Inf so free workers take the next leaf\n- DESCRIPTION: httr2 (>= 1.0.0) for retry_on_failure\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n* fix: drop count pre-pass, clearer API errors, fail fast on exhausted budget\n\n- pro_request(): no per-leaf count request before a list download; progress\n  counts leaves and advances per page in fractions\n- api_call(): OpenAlex's own message in 4xx errors; a 429 with\n  X-RateLimit-Remaining = 0 is not retried and reports the reset time\n- pro_request(): redact api_key in verbose URL output\n- pro_query(): skip fetching opt_select_fields() when no select is given\n- docs: `pages` and `output` descriptions match the code\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n* fix: do not retry a not_enough_credits 429\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n* feat: pro_query() accepts sources, topics and locations entities\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n* feat: OQL and OQO queries in pro_query()\n\n- pro_query(oql =, oqo =): root-endpoint URLs; classic arguments that\n  OpenAlex would silently ignore next to a query are rejected\n- pro_request(): grouped results detected from meta$groups_count rather\n  than the URL, so grouping inside OQL/OQO works\n- api_call(): OQL validation errors (type, message, position) in errors\n- fix pro_query() example (old oa_build_req name)\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n* docs: correct search syntax, API key name, entities and pipeline\n\n- pro_query(): wildcar",
    "time": 1795162898
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "jqr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "keyring",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "openalexR",
      "version": ">= 1.4.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vcr",
      "version": "> 1.7.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "openalexpro",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 9
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 2
    },
    {
      "week": "2026-47",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.4.1",
      "date": "2026-01-21"
    },
    {
      "name": "v0.4.2",
      "date": "2026-01-27"
    },
    {
      "name": "v0.6.0",
      "date": "2026-03-02"
    },
    {
      "name": "v0.6.2",
      "date": "2026-03-17"
    },
    {
      "name": "v0.9.0",
      "date": "2026-05-26"
    },
    {
      "name": "v0.10.0",
      "date": "2026-05-27"
    },
    {
      "name": "v0.10.1",
      "date": "2026-05-28"
    },
    {
      "name": "v0.10.2",
      "date": "2026-05-29"
    },
    {
      "name": "v0.10.3",
      "date": "2026-05-29"
    },
    {
      "name": "v0.10.4",
      "date": "2026-06-02"
    },
    {
      "name": "v0.13.0",
      "date": "2026-10-16"
    },
    {
      "name": "v0.14.0",
      "date": "2026-10-27"
    },
    {
      "name": "v0.14.1",
      "date": "2026-10-27"
    },
    {
      "name": "v0.15.0",
      "date": "2026-11-18"
    },
    {
      "name": "v0.16.0",
      "date": "2026-11-18"
    },
    {
      "name": "v0.17.0",
      "date": "2026-11-18"
    },
    {
      "name": "v0.18.0",
      "date": "2026-11-19"
    },
    {
      "name": "v0.18.1",
      "date": "2026-11-20"
    }
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "rkrug",
      "count": 295,
      "uuid": 487172
    }
  ],
  "_userbio": {
    "uuid": 288549264,
    "type": "organization",
    "name": "openalexPro",
    "followers": 0,
    "description": "Tools to work with OpenAlex data, API as well as snapshot"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/openalexPro"
  },
  "_devurl": "https://github.com/openalexpro/openalexpro",
  "_pkgdown": "https://openalexpro.github.io/openalexPro/",
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/openalexPro.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Rainer M Krug",
      "email": "rainer@krugs.de",
      "orcid": "0000-0002-7490-0066",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "compatibility_report",
    "extract_doi",
    "id_block",
    "infer_json_schema",
    "jq_execute",
    "oa_normalize_duckdb_type",
    "oa_schema",
    "oa_works_abstract_sql",
    "oa_works_citation_sql",
    "opt_api_key",
    "opt_filter_names",
    "opt_select_fields",
    "pro_api_key",
    "pro_collection",
    "pro_compact_parquet",
    "pro_count",
    "pro_download_content",
    "pro_fetch",
    "pro_query",
    "pro_rate_limit_status",
    "pro_request",
    "pro_request_jsonl",
    "pro_request_jsonl_parquet",
    "pro_request_parquet",
    "pro_validate_credentials",
    "read_corpus",
    "sample_parquet_n"
  ],
  "_help": [
    {
      "page": "compatibility_report",
      "title": "Render and open the compatibility report",
      "topics": [
        "compatibility_report"
      ]
    },
    {
      "page": "extract_doi",
      "title": "Extract DOIs or Components from Character Vectors",
      "topics": [
        "extract_doi"
      ]
    },
    {
      "page": "id_block",
      "title": "Compute ID block from OpenAlex IDs",
      "topics": [
        "id_block"
      ]
    },
    {
      "page": "infer_json_schema",
      "title": "Infer unified JSON schema using DuckDB",
      "topics": [
        "infer_json_schema"
      ]
    },
    {
      "page": "jq_execute",
      "title": "Execute a jq transformation from an OpenAlex-style JSON to JSONL",
      "topics": [
        "jq_execute"
      ]
    },
    {
      "page": "oa_normalize_duckdb_type",
      "title": "Canonicalise a DuckDB type string.",
      "topics": [
        "oa_normalize_duckdb_type"
      ]
    },
    {
      "page": "oa_schema",
      "title": "Get or refresh an OpenAlex entity schema",
      "topics": [
        "oa_schema"
      ]
    },
    {
      "page": "oa_works_abstract_sql",
      "title": "Return the DuckDB SQL expression that reconstructs a plain-text abstract from the 'abstract_inverted_index' column in OpenAlex works data.",
      "topics": [
        "oa_works_abstract_sql"
      ]
    },
    {
      "page": "oa_works_citation_sql",
      "title": "Return the DuckDB SQL expression that builds a short citation string from the 'authorships' and 'publication_year' columns in OpenAlex works data.",
      "topics": [
        "oa_works_citation_sql"
      ]
    },
    {
      "page": "opt_api_key",
      "title": "Get API key for OpenAlex API",
      "topics": [
        "opt_api_key"
      ]
    },
    {
      "page": "opt_filter_names",
      "title": "Get available filter names from OpenAlex API",
      "topics": [
        "opt_filter_names"
      ]
    },
    {
      "page": "opt_select_fields",
      "title": "Get available select fields from OpenAlex API",
      "topics": [
        "opt_select_fields"
      ]
    },
    {
      "page": "pro_api_key",
      "title": "Retrieve the OpenAlex Pro API key",
      "topics": [
        "pro_api_key"
      ]
    },
    {
      "page": "pro_collection",
      "title": "Create OpenAlex collections from queries",
      "topics": [
        "pro_collection"
      ]
    },
    {
      "page": "pro_compact_parquet",
      "title": "Compact a Parquet dataset into fewer, larger files",
      "topics": [
        "pro_compact_parquet"
      ]
    },
    {
      "page": "pro_download_content",
      "title": "Download full-text PDFs or TEI XML for OpenAlex works",
      "topics": [
        "pro_download_content"
      ]
    },
    {
      "page": "pro_fetch",
      "title": "Fetch and convert OpenAlex data to Parquet",
      "topics": [
        "pro_fetch"
      ]
    },
    {
      "page": "pro_query",
      "title": "Build an OpenAlex request (httr2)",
      "topics": [
        "pro_query"
      ]
    },
    {
      "page": "pro_rate_limit_status",
      "title": "Check OpenAlex rate limit status",
      "topics": [
        "pro_rate_limit_status"
      ]
    },
    {
      "page": "pro_request",
      "title": "Fetch works from OpenAlex",
      "topics": [
        "pro_request"
      ]
    },
    {
      "page": "pro_request_jsonl",
      "title": "Convert JSON files to jsonl files",
      "topics": [
        "pro_request_jsonl"
      ]
    },
    {
      "page": "pro_request_jsonl_parquet",
      "title": "Convert JSON files to Apache Parquet files",
      "topics": [
        "pro_request_jsonl_parquet"
      ]
    },
    {
      "page": "pro_request_parquet",
      "title": "Convert JSON files from pro_request() directly to Apache Parquet",
      "topics": [
        "pro_request_parquet"
      ]
    },
    {
      "page": "pro_validate_credentials",
      "title": "Validate OpenAlex credentials",
      "topics": [
        "pro_validate_credentials"
      ]
    },
    {
      "page": "read_corpus",
      "title": "Read corpus from Parquet Dataset",
      "topics": [
        "read_corpus"
      ]
    },
    {
      "page": "sample_parquet_n",
      "title": "Sample rows from Parquet files using DuckDB reservoir sampling",
      "topics": [
        "sample_parquet_n"
      ]
    }
  ],
  "_readme": "https://github.com/openalexPro/openalexPro/raw/main/README.md",
  "_rundeps": [
    "arrow",
    "askpass",
    "assertthat",
    "bit",
    "bit64",
    "cli",
    "codetools",
    "cpp11",
    "curl",
    "DBI",
    "dplyr",
    "duckdb",
    "future",
    "future.apply",
    "generics",
    "globals",
    "glue",
    "httr2",
    "jqr",
    "jsonlite",
    "lazyeval",
    "lifecycle",
    "listenv",
    "magrittr",
    "openssl",
    "parallelly",
    "pillar",
    "pkgconfig",
    "progressr",
    "purrr",
    "R6",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.494154594018442,
  "_indexed": true,
  "_nocasepkg": "openalexpro",
  "_universes": [
    "openalexpro",
    "rkrug"
  ],
  "_previous": "0.18.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.18.1",
      "date": "2026-11-20T08:32:46.000Z",
      "distro": "resolute",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/51bae3422d69cb7ebab0fee84a09ebdcd464df8c784cec71d00ccdd0e179a5e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.18.1",
      "date": "2026-11-20T08:32:28.000Z",
      "distro": "resolute",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/29baef1e72ca721a7b052a8a664816c19c15ff1b6da6bfcaa914927532f00894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.18.1",
      "date": "2026-11-20T09:10:31.000Z",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/a5f29cb17bf47fe872790b2b48ae95d94f4b470f4cfa29a5e8b160ce05798303",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.18.1",
      "date": "2026-11-20T08:32:44.000Z",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/3d3f1dfc5631e1f522c7a6f0163422cede10fcbfb5819a65462fb5d83bb0e53d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.18.1",
      "date": "2026-11-20T08:32:25.000Z",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/38fe91a798330f2e99e6b7608abbf84cf666d48a701cab7cb606eb5c244cf25e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.18.1",
      "date": "2026-11-20T08:31:45.000Z",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/2be6b15da67ee8255c67861823690b5b5da09466751db9c05a37426a54f13b20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.18.1",
      "date": "2026-11-20T08:31:51.000Z",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/524c46a0b2b67bbfb9a183401886777e8b6b2400ed5d84f9182181db3cd79619",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.18.1",
      "date": "2026-11-20T08:31:48.000Z",
      "commit": "9aa092c59e3aaf842b46aaf7b801572b2baebb5c",
      "fileid": "https://r2.ropensci.org/7edfc9edbfd4bc35e83abecd0273b530492046683590f79e9ac0b27ce1cfca33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openalexpro/actions/runs/44702537643"
    }
  ]
}