{
  "_id": "6ac8cc2ede46216d5edd7655",
  "Package": "readoecd",
  "Title": "Download and Tidy Data from the 'OECD'",
  "Version": "0.3.4",
  "Authors@R": "person(\"Charles\", \"Coverdale\", email = \"charlesfcoverdale@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Provides clean, tidy access to key economic indicators\npublished by the 'Organisation for Economic Co-operation and\nDevelopment' ('OECD'), covering GDP, CPI inflation,\nunemployment, tax revenue, government deficit, health\nexpenditure, education expenditure, income inequality, labour\nproductivity, and current account balance across all 38 'OECD'\nmember countries. Data is downloaded from the 'OECD Data\nExplorer' API <https://data-explorer.oecd.org> on first use and\ncached locally for subsequent calls. Returns tidy long-format\ndata frames ready for analysis and visualisation.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "URL": "https://charlescoverdale.github.io/readoecd/,\nhttps://github.com/charlescoverdale/readoecd",
  "BugReports": "https://github.com/charlescoverdale/readoecd/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://charlescoverdale.r-universe.dev",
  "Date/Publication": "2026-09-09 10:02:06 UTC",
  "RemoteUrl": "https://github.com/charlescoverdale/readoecd",
  "RemoteRef": "HEAD",
  "RemoteSha": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 10:38:52 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "readoecd_0.3.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/98a0057e7a4c9ab8206330baf45a22747d0f96e1706c613b29d0580d44ea0ea9",
  "_filesize": 154695,
  "_sha256": "98a0057e7a4c9ab8206330baf45a22747d0f96e1706c613b29d0580d44ea0ea9",
  "_expires": "2027-01-17T11:12:44.000Z",
  "_created": "2026-10-09T10:38:52.000Z",
  "_published": "2026-10-09T11:12:46.785Z",
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113781773130,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11610683866"
    },
    {
      "job": 113781773217,
      "time": 94,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610863568"
    },
    {
      "job": 113781773120,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11612097951"
    },
    {
      "job": 113781773021,
      "time": 78,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11612476994"
    },
    {
      "job": 113780931487,
      "time": 151,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610213151"
    },
    {
      "job": 113781773114,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11610263236"
    },
    {
      "job": 113781773100,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11610218237"
    },
    {
      "job": 113781773108,
      "time": 56,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11611073242"
    },
    {
      "job": 113781773116,
      "time": 54,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610273226"
    }
  ],
  "_upstream": "https://github.com/charlescoverdale/readoecd",
  "_commit": {
    "id": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "message": "Repair five broken data functions against the live OECD API; 0.3.4\n\nFive of the eight data functions returned nothing, and every one of them\nreported \"Failed to reach the OECD API. Check your internet connection\".\nThat diagnosis was wrong in the most misleading way: the API had answered.\n\nreq_perform() raises on 4xx and 5xx by default, so the tryCatch around it\ncaught every HTTP error and reported them all as a connection failure. It\nalso made the 429 and 404 branches below it unreachable, so the careful\nmessages already written there had never once run. req_error(is_error =\nFALSE) lets the response through and the existing handling works.\n\nWith the real errors visible, five separate upstream changes turned up.\nNothing had been withdrawn: the OECD moved versions and renamed codes.\n\n  tax           422  dataflow gained CTRY_SPECIFIC_REVENUE, filter one short\n  health        404  dataflow moved to 1.1; PT_GDP became PT_B1GQ\n  deficit       404  CHAPTER=_Z matched nothing\n  trade         404  COUNTERPART/FS_ENTRY/ADJUSTMENT _Z -> WXD/T/N\n  productivity  500  DF_PDB_LV is dead; DF_PDB 2.0 replaces it\n\nparse_tax() then still returned an empty frame because all three of its\nfilters used renamed codes: the sector total is S13 rather than _T, and\nboth revenue dimensions use _T rather than _Z. Verified against Australia,\nwhich reports 27.8 to 29.5 per cent of GDP across 2015 to 2021.\n\nparse_productivity() needed more than a dataflow swap. DF_PDB is the full\ndatabase rather than the levels extract, so one measure code appears as a\nlevel, a growth rate and an index; taking it unfiltered mixed dollars with\npercentage changes including negatives. It now selects the level,\nPPP-converted, total-economy slice in chain linked volume. Current prices\nwould have shown Australian GDP per hour rising 38 per cent over 2015 to\n2021 against 6 per cent in volume terms, and that gap is inflation.\n\nAlso: the API refuses after a few dozen rapid requests, which a test run\nreaches easily. Throttl",
    "time": 1788948126
  },
  "_maintainer": {
    "name": "Charles Coverdale",
    "email": "charlesfcoverdale@gmail.com",
    "login": "charlescoverdale",
    "linkedin": "in/charlescoverdale",
    "twitter": "@cfcoverdale",
    "description": "economics | climate science | R",
    "uuid": 21993492
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "charlescoverdale",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 19
    },
    {
      "week": "2026-11",
      "n": 7
    },
    {
      "week": "2026-12",
      "n": 4
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 8
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-03-07"
    },
    {
      "name": "v0.3.4",
      "date": "2026-09-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 47,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 21993492,
    "type": "user",
    "name": "Charles Coverdale",
    "followers": 15,
    "description": "economics | climate science | R"
  },
  "_downloads": {
    "count": 375,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/readoecd"
  },
  "_devurl": "https://github.com/charlescoverdale/readoecd",
  "_pkgdown": "https://charlescoverdale.github.io/readoecd/",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_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/readme.html",
    "extra/readme.md",
    "extra/readoecd.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/charlescoverdale/readoecd",
  "_realowner": "charlescoverdale",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2026-03-12"
    },
    {
      "version": "0.3.3",
      "date": "2026-03-18"
    },
    {
      "version": "0.3.4",
      "date": "2026-09-09"
    }
  ],
  "_exports": [
    "check_oecd_api",
    "clear_oecd_cache",
    "get_oecd_cpi",
    "get_oecd_current_account",
    "get_oecd_deficit",
    "get_oecd_education",
    "get_oecd_gdp",
    "get_oecd_health",
    "get_oecd_inequality",
    "get_oecd_productivity",
    "get_oecd_tax",
    "get_oecd_unemployment",
    "list_oecd_countries"
  ],
  "_help": [
    {
      "page": "check_oecd_api",
      "title": "Check OECD API connectivity",
      "concept": [
        "utilities"
      ],
      "topics": [
        "check_oecd_api"
      ]
    },
    {
      "page": "clear_oecd_cache",
      "title": "Clear the readoecd local cache",
      "concept": [
        "utilities"
      ],
      "topics": [
        "clear_oecd_cache"
      ]
    },
    {
      "page": "get_oecd_cpi",
      "title": "Get OECD CPI inflation data",
      "concept": [
        "economic indicators"
      ],
      "topics": [
        "get_oecd_cpi"
      ]
    },
    {
      "page": "get_oecd_current_account",
      "title": "Get OECD trade (balance of payments) data",
      "concept": [
        "productivity and trade"
      ],
      "topics": [
        "get_oecd_current_account"
      ]
    },
    {
      "page": "get_oecd_deficit",
      "title": "Get OECD government deficit data",
      "concept": [
        "fiscal"
      ],
      "topics": [
        "get_oecd_deficit"
      ]
    },
    {
      "page": "get_oecd_education",
      "title": "Get OECD education expenditure data",
      "concept": [
        "social indicators"
      ],
      "topics": [
        "get_oecd_education"
      ]
    },
    {
      "page": "get_oecd_gdp",
      "title": "Get OECD GDP data",
      "concept": [
        "economic indicators"
      ],
      "topics": [
        "get_oecd_gdp"
      ]
    },
    {
      "page": "get_oecd_health",
      "title": "Get OECD health expenditure data",
      "concept": [
        "social indicators"
      ],
      "topics": [
        "get_oecd_health"
      ]
    },
    {
      "page": "get_oecd_inequality",
      "title": "Get OECD income inequality data",
      "concept": [
        "social indicators"
      ],
      "topics": [
        "get_oecd_inequality"
      ]
    },
    {
      "page": "get_oecd_productivity",
      "title": "Get OECD productivity data",
      "concept": [
        "productivity and trade"
      ],
      "topics": [
        "get_oecd_productivity"
      ]
    },
    {
      "page": "get_oecd_tax",
      "title": "Get OECD tax revenue data",
      "concept": [
        "fiscal"
      ],
      "topics": [
        "get_oecd_tax"
      ]
    },
    {
      "page": "get_oecd_unemployment",
      "title": "Get OECD unemployment rates",
      "concept": [
        "economic indicators"
      ],
      "topics": [
        "get_oecd_unemployment"
      ]
    },
    {
      "page": "list_oecd_countries",
      "title": "List OECD member countries",
      "concept": [
        "utilities"
      ],
      "topics": [
        "list_oecd_countries"
      ]
    }
  ],
  "_readme": "https://github.com/charlescoverdale/readoecd/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "readoecd",
  "_universes": [
    "charlescoverdale"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-10-09T10:40:40.000Z",
      "distro": "resolute",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/88c9ab326a7f867a7c446626d0f99f857ddaba8279ef07d99c9ad8cc11e286ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-10-09T10:40:31.000Z",
      "distro": "resolute",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/75c6973755af98103ed251ee702ac9a9529c7d7c86246f93db252f7ee2392d1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-10-09T11:12:15.000Z",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/b1e5c76f04f70741400fd7764ea5582d782cc35e5ed9ec7cf50b182aa0b73bcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-10-09T11:07:26.000Z",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/2e79432c2702f2651df2479fc719d927dea5c74359f33a438670d9682ccac922",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.4",
      "date": "2026-10-09T10:40:32.000Z",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/46adebd26ab8ddceadeacfa2c6c9c09b24fce8a55532f5fe3d032c47c5bf31d1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-10-09T10:40:00.000Z",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/65368fe5f7798d517b0e87ca8e5b313415bbeae4fc980dff82225dea9fbc4d8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-10-09T10:39:48.000Z",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/eef5aec167c27ca5fc7562c8fd7a39e6eaab62bb8b0c6a4a18cf5b9bb5452f2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-10-09T10:39:47.000Z",
      "commit": "42dff764f2c81ffd7dc76b67ac0ae7cf6f9f08be",
      "fileid": "https://r2.ropensci.org/26c5b3484b16323a46976d29ba7f61b8c573828d3aef3f95a3a16bfa99fe3c24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918614383"
    }
  ]
}