{
  "_id": "6ab54676c18b73ce90b4fa9b",
  "Package": "AI4OfficialStats",
  "Type": "Package",
  "Title": "Audit Statistical Fidelity of AI-Mediated Official Statistics",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Hossein\", \"Hassani\", role = \"aut\"),\nperson(\"Steve\", \"MacFeely\", role = \"aut\"),\nperson(\"Leila\", \"Marvian Mashhad\",\nemail = \"leila.marveian@gmail.com\",\nrole = c(\"aut\", \"cre\"))\n)",
  "Description": "Provides deterministic tools for auditing whether\nartificial intelligence systems preserve the numerical,\nsemantic, contextual, temporal, geographic, unit, provenance,\nrevision, transformation, and uncertainty properties of\nofficial statistics. Structured reference statistics and\nmachine-generated claims can be compared using non-compensatory\ncritical-error rules, weakest-link and geometric fidelity\nsummaries, provenance graphs, and portable SHA-256 proof\nbundles. The package provides bounded connectors for official\nstatistical services, an easy schema-detection and file-import\nlayer for arbitrary official organisations, extensible provider\nregistries, and a search-first natural- language verification\nlayer that classifies statistical claims, selects suitable\nofficial sources, retrieves candidate evidence, matches\nstatistical dimensions, and compares claimed values. If no\nreference year is stated, verification uses the latest\navailable matching official observation and discloses the\nresolved year. Source attribution is optional: automatic\nrouting can choose suitable providers when none is named, while\nexplicitly named supported sources are respected by default.\nAutomatic catalogue-to-observation verification is implemented\nfor the World Bank, WHO, the United Nations Statistics Division\nSustainable Development Goals service, and the European\nCommission statistical service, while other providers remain\navailable through bounded direct connectors or generic\nofficial-data import. Prompt perturbation, statistical red-team\ngeneration, minimal-pair tests, and benchmark data support\nreproducible evaluation of generative, retrieval-augmented, and\nagentic statistical systems. An embedded alignment layer maps\nclaim-level controls to relevant activities of the Generic\nStatistical Business Process Model (GSBPM) 5.2, including\nAnalyse, Disseminate, Evaluate, Quality Management, and\nMetadata Management.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-24 15:31:43 UTC",
    "User": "root"
  },
  "Author": "Hossein Hassani [aut], Steve MacFeely [aut], Leila Marvian\nMashhad [aut, cre]",
  "Maintainer": "Leila Marvian Mashhad <leila.marveian@gmail.com>",
  "Repository": "https://leilamarvian.r-universe.dev",
  "Date/Publication": "2026-09-24 09:10:22 UTC",
  "RemoteUrl": "https://github.com/cran/AI4OfficialStats",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
  "_user": "leilamarvian",
  "_type": "src",
  "_file": "AI4OfficialStats_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/40ddfcaa419f9491e2c64ffc3b7b1f4197cca21f79cd33fc483f11915e550eaa",
  "_filesize": 276568,
  "_sha256": "40ddfcaa419f9491e2c64ffc3b7b1f4197cca21f79cd33fc483f11915e550eaa",
  "_expires": "2027-01-02T15:49:07.000Z",
  "_created": "2026-09-24T15:31:43.000Z",
  "_published": "2026-09-24T15:49:09.926Z",
  "_jobs": [
    {
      "job": 107705188793,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10817016258"
    },
    {
      "job": 107705188839,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10816956347"
    },
    {
      "job": 107705188732,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10816488377"
    },
    {
      "job": 107705188990,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10818280387"
    },
    {
      "job": 107703917907,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10816248443"
    },
    {
      "job": 107705188764,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10816711813"
    },
    {
      "job": 107705188831,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10816711770"
    },
    {
      "job": 107705188970,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10817150489"
    },
    {
      "job": 107705188941,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10817095772"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229",
  "_status": "success",
  "_upstream": "https://github.com/cran/AI4OfficialStats",
  "_commit": {
    "id": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
    "author": "Leila Marvian Mashhad <leila.marveian@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1790241022
  },
  "_maintainer": {
    "name": "Leila Marvian Mashhad",
    "email": "leila.marveian@gmail.com",
    "login": "leilamarvian",
    "description": "",
    "uuid": 141774530
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-39",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-09-22"
    },
    {
      "name": "0.2.0",
      "date": "2026-09-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "leilamarvian",
      "count": 2,
      "uuid": 141774530
    }
  ],
  "_userbio": {
    "uuid": 141774530,
    "type": "user",
    "name": "Leilamarvian",
    "followers": 1
  },
  "_downloads": {
    "count": 31,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AI4OfficialStats"
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/AI4OfficialStats.html",
    "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/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_realowner": "leilamarvian",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-22"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-24"
    }
  ],
  "_exports": [
    "api_get_json",
    "as_stat_claim",
    "as_stat_reference",
    "audit_batch",
    "audit_stat_ai",
    "audit_stats",
    "benchmark_from_reference",
    "bls_url",
    "certify_claim",
    "claim_graph",
    "classify_stat_claim",
    "clear_stat_api_key",
    "context_audit",
    "detect_stat_provider",
    "detect_stat_schema",
    "eurostat_catalogue_url",
    "eurostat_url",
    "extract_stat_claims",
    "fetch_bls",
    "fetch_eurostat",
    "fetch_oecd",
    "fetch_stat_api",
    "fetch_unsd_sdg",
    "fetch_who",
    "fetch_worldbank",
    "fidelity",
    "geo_audit",
    "gsbpm_align",
    "gsbpm_quality_report",
    "gsbpm52_map",
    "imf_api_url",
    "model_stability",
    "numeric_audit",
    "oecd_url",
    "official_stat_providers",
    "officialstat_benchmark",
    "ons_search_url",
    "perturb_prompt",
    "proof_bundle",
    "read_official_stats",
    "read_proof",
    "redteam_stats",
    "register_official_provider",
    "register_stat_api",
    "revision_audit",
    "revision_propagation_lag",
    "search_claim_evidence",
    "search_eurostat",
    "search_official_stats",
    "search_ons",
    "search_stat_api",
    "search_unsd_sdg",
    "search_who",
    "search_worldbank",
    "semantic_audit",
    "set_stat_api_key",
    "source_audit",
    "stat_api_key",
    "stat_claim",
    "stat_reference",
    "statistical_minimal_pairs",
    "suggest_stat_providers",
    "temporal_audit",
    "trace_claim",
    "transformation_audit",
    "uncertainty_audit",
    "unit_audit",
    "unsd_sdg_data_url",
    "unsd_sdg_series_url",
    "verify_claim",
    "verify_proof",
    "verify_text",
    "weakest_link",
    "who_odata_url",
    "worldbank_url",
    "write_proof"
  ],
  "_help": [
    {
      "page": "statfidelity-package",
      "title": "Audit Statistical Fidelity of AI-Mediated Official Statistics",
      "topics": [
        "AI4OfficialStats-package",
        "AI4OfficialStats"
      ]
    },
    {
      "page": "as_stat_reference",
      "title": "Convert Provider or Ordinary Data to an Official Statistical Reference",
      "topics": [
        "as_stat_reference"
      ]
    },
    {
      "page": "audit_components",
      "title": "Component-Level Statistical Fidelity Audits",
      "topics": [
        "geo_audit",
        "numeric_audit",
        "revision_audit",
        "semantic_audit",
        "source_audit",
        "temporal_audit",
        "uncertainty_audit",
        "unit_audit"
      ]
    },
    {
      "page": "audit_stat_ai",
      "title": "Audit and Summarize Statistical Fidelity",
      "topics": [
        "audit_batch",
        "audit_stat_ai",
        "fidelity",
        "print.stat_fidelity_audit",
        "print.stat_fidelity_batch",
        "weakest_link"
      ]
    },
    {
      "page": "benchmark_tools",
      "title": "Official Statistics AI Benchmark Tools",
      "topics": [
        "benchmark_from_reference",
        "officialstat_benchmark",
        "statistical_minimal_pairs"
      ]
    },
    {
      "page": "claim_verification",
      "title": "Classify, Search, and Verify Natural-Language Statistical Claims",
      "topics": [
        "classify_stat_claim",
        "search_claim_evidence",
        "suggest_stat_providers",
        "verify_claim",
        "verify_text"
      ]
    },
    {
      "page": "context_audit",
      "title": "Audit Statistical Context and Revision Propagation",
      "topics": [
        "context_audit",
        "revision_propagation_lag"
      ]
    },
    {
      "page": "easy_mode",
      "title": "Easy import and audit of arbitrary official-statistics data",
      "topics": [
        "as_stat_claim",
        "audit_stats",
        "detect_stat_provider",
        "detect_stat_schema",
        "read_official_stats"
      ]
    },
    {
      "page": "eurostat_catalogue",
      "title": "Search the Eurostat Catalogue",
      "topics": [
        "eurostat_catalogue_url",
        "search_eurostat"
      ]
    },
    {
      "page": "extract_stat_claims",
      "title": "Extract Candidate Statistical Claims from Text",
      "topics": [
        "extract_stat_claims"
      ]
    },
    {
      "page": "gsbpm_alignment",
      "title": "Align AI4OfficialStats with GSBPM 5.2",
      "topics": [
        "gsbpm52_map",
        "gsbpm_align",
        "gsbpm_quality_report",
        "print.stat_gsbpm_report"
      ]
    },
    {
      "page": "providers",
      "title": "Official-Statistics API Connectors",
      "topics": [
        "eurostat_url",
        "fetch_eurostat",
        "fetch_oecd",
        "fetch_worldbank",
        "oecd_url",
        "worldbank_url"
      ]
    },
    {
      "page": "proof_io",
      "title": "Write, Read, and Verify Statistical Proof Bundles",
      "topics": [
        "read_proof",
        "verify_proof",
        "write_proof"
      ]
    },
    {
      "page": "provenance",
      "title": "Provenance Graphs and Proof-Carrying Statistical Answers",
      "topics": [
        "certify_claim",
        "claim_graph",
        "print.stat_proof",
        "proof_bundle",
        "trace_claim"
      ]
    },
    {
      "page": "register_official_provider",
      "title": "Register a generic official-statistics provider profile",
      "topics": [
        "register_official_provider"
      ]
    },
    {
      "page": "search_official_stats",
      "title": "Search multiple official-statistics catalogues",
      "topics": [
        "search_official_stats"
      ]
    },
    {
      "page": "providers_extra",
      "title": "Additional official-statistics API connectors and search tools",
      "topics": [
        "bls_url",
        "fetch_bls",
        "fetch_unsd_sdg",
        "imf_api_url",
        "ons_search_url",
        "search_ons",
        "search_unsd_sdg",
        "search_worldbank",
        "unsd_sdg_data_url",
        "unsd_sdg_series_url"
      ]
    },
    {
      "page": "api_extensions",
      "title": "Extensible REST API support and session-only API keys",
      "topics": [
        "api_get_json",
        "clear_stat_api_key",
        "fetch_stat_api",
        "official_stat_providers",
        "register_stat_api",
        "search_stat_api",
        "set_stat_api_key",
        "stat_api_key"
      ]
    },
    {
      "page": "stat_claim",
      "title": "Construct an AI-Mediated Statistical Claim",
      "topics": [
        "print.stat_claim",
        "stat_claim"
      ]
    },
    {
      "page": "stat_reference",
      "title": "Construct an Official-Statistics Reference Object",
      "topics": [
        "print.stat_reference",
        "stat_reference"
      ]
    },
    {
      "page": "stress_tools",
      "title": "Prompt Robustness, Statistical Red-Teaming, and Model Stability",
      "topics": [
        "model_stability",
        "perturb_prompt",
        "redteam_stats"
      ]
    },
    {
      "page": "transformation_audit",
      "title": "Audit a Derived Statistical Transformation",
      "topics": [
        "transformation_audit"
      ]
    },
    {
      "page": "who_connector",
      "title": "WHO OData connector",
      "topics": [
        "fetch_who",
        "search_who",
        "who_odata_url"
      ]
    }
  ],
  "_readme": "https://github.com/cran/AI4OfficialStats/raw/HEAD/README.md",
  "_rundeps": [
    "digest",
    "jsonlite"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "ai4officialstats",
  "_universes": [
    "leilamarvian"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-24T15:33:57.000Z",
      "distro": "resolute",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/128faaaf97c4cb49382efe8a6177dc94e74c3442fd76e5de1968b3369e2dd9c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-24T15:33:54.000Z",
      "distro": "resolute",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/ecfb60e32b94bb02c3e64a5ce94b5c9aa6af33080aee56ea42d3dfd8582cd811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-24T15:38:42.000Z",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/e85fa75a50a952a253ccf9a9f03e54486244a0a7ce535180b237ea178b225d49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-24T15:48:16.000Z",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/24dfbf04fda63240b44b05e6ccbe7de6f2092d47fd92e82960fe6d44ef37504f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-24T15:33:38.000Z",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/8f851612b0896576e21aace2c9e9d2d4b6edad4a0aeada8b300c2ee859e26aef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-24T15:32:53.000Z",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/ae6d7491f6269a5b740bfba5b59d499f844dfafab426b97093402173ffb387a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-24T15:32:52.000Z",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/0d73ba4fcf3600cecc27b0986c2ae086c809e907e718fe37d54081f2d98e1f42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-24T15:32:48.000Z",
      "commit": "6c4afa2eca8502772e7037a9a13478a394f4eb90",
      "fileid": "https://r2.ropensci.org/8eb088885a60891b78e995cd71a16ece5cec13bf0471c9f0ec5d787198cae013",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leilamarvian/actions/runs/36020481229"
    }
  ]
}