{
  "_id": "6ac8caa7de46216d5edd7470",
  "Package": "comtrade",
  "Title": "Access and Analyse UN Comtrade International Trade Data",
  "Version": "0.1.1",
  "Authors@R": "person(\"Charles\", \"Coverdale\", , \"charlesfcoverdale@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Download and analyse international merchandise and\nservices trade data from the United Nations Comtrade database\n<https://comtradeplus.un.org/>. Retrieve bilateral trade flows,\ncompute trade analytics (revealed comparative advantage, trade\nconcentration, trade balance), and convert between commodity\nclassifications (Harmonised System 'HS', Standard International\nTrade Classification 'SITC', Broad Economic Categories 'BEC').\nCovers 200+ reporter countries, 60+ years of goods trade data\n(1962-present), and services trade via Extended Balance of\nPayments Services ('EBOPS'). Works without registration for\nbasic queries. A free Application Programming Interface ('API')\nkey from <https://comtradedeveloper.un.org/> unlocks full\naccess.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "URL": "https://charlescoverdale.github.io/comtrade/,\nhttps://github.com/charlescoverdale/comtrade",
  "BugReports": "https://github.com/charlescoverdale/comtrade/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 12:31:33 UTC",
  "RemoteUrl": "https://github.com/charlescoverdale/comtrade",
  "RemoteRef": "HEAD",
  "RemoteSha": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 10:37:00 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "comtrade_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/aca4de32e293501430c3453835061d19cf7e45e9bdd22b67456a680f37ef9297",
  "_filesize": 147090,
  "_sha256": "aca4de32e293501430c3453835061d19cf7e45e9bdd22b67456a680f37ef9297",
  "_expires": "2027-01-17T11:06:13.000Z",
  "_created": "2026-10-09T10:37:00.000Z",
  "_published": "2026-10-09T11:06:15.050Z",
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113781159915,
      "time": 99,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11610013254"
    },
    {
      "job": 113781159869,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11611202949"
    },
    {
      "job": 113781159766,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11612197319"
    },
    {
      "job": 113781159916,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11612142866"
    },
    {
      "job": 113780205721,
      "time": 168,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610497614"
    },
    {
      "job": 113781159906,
      "time": 83,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11611178060"
    },
    {
      "job": 113781159847,
      "time": 55,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11610127974"
    },
    {
      "job": 113781159909,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11610673347"
    },
    {
      "job": 113781159940,
      "time": 60,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11611147863"
    }
  ],
  "_upstream": "https://github.com/charlescoverdale/comtrade",
  "_commit": {
    "id": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "message": "Point the README API link at the developer portal, not the API host root\n\nUwe Ligges flagged https://comtradeapi.un.org/ as a 404 during the\n0.1.1 review. The host is correct as an API base: it serves the\nendpoints the package actually calls. It just has nothing at its root\npath, so CRAN's URL checker cannot verify it and it reads as a dead\nlink to anyone who clicks it from the README.\n\nThe sentence now names the Comtrade Plus API in plain text and links\nthe developer portal instead, which is where a reader would go to get\na key and which returns 200. That URL was already cited in DESCRIPTION,\nso this introduces no new external reference.\n\nct_base_url() is deliberately unchanged. Repointing it would break\nevery request the package makes; only the documentation was wrong.\n\nEvery remaining URL in README, DESCRIPTION, NEWS and man/ was\nre-checked and all resolve.\n",
    "time": 1788957093
  },
  "_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": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "charlescoverdale",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 11
    },
    {
      "week": "2026-16",
      "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": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2026-04-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 25,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 21993492,
    "type": "user",
    "name": "Charles Coverdale",
    "followers": 15,
    "description": "economics | climate science | R"
  },
  "_downloads": {
    "count": 429,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comtrade"
  },
  "_devurl": "https://github.com/charlescoverdale/comtrade",
  "_pkgdown": "https://charlescoverdale.github.io/comtrade/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comtrade.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/charlescoverdale/comtrade",
  "_realowner": "charlescoverdale",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-13"
    },
    {
      "version": "0.1.1",
      "date": "2026-09-09"
    }
  ],
  "_exports": [
    "ct_available",
    "ct_balance",
    "ct_cache_clear",
    "ct_commodities",
    "ct_compare",
    "ct_concordance",
    "ct_growth",
    "ct_hhi",
    "ct_rca",
    "ct_reporters",
    "ct_services",
    "ct_set_key",
    "ct_share",
    "ct_top_partners",
    "ct_top_products",
    "ct_trade"
  ],
  "_help": [
    {
      "page": "ct_available",
      "title": "Check Data Availability",
      "topics": [
        "ct_available"
      ]
    },
    {
      "page": "ct_balance",
      "title": "Trade Balance by Partner",
      "topics": [
        "ct_balance"
      ]
    },
    {
      "page": "ct_cache_clear",
      "title": "Clear the Comtrade Cache",
      "topics": [
        "ct_cache_clear"
      ]
    },
    {
      "page": "ct_commodities",
      "title": "Search Commodity Codes",
      "topics": [
        "ct_commodities"
      ]
    },
    {
      "page": "ct_compare",
      "title": "Compare Countries",
      "topics": [
        "ct_compare"
      ]
    },
    {
      "page": "ct_concordance",
      "title": "Convert Between Trade Classifications",
      "topics": [
        "ct_concordance"
      ]
    },
    {
      "page": "ct_growth",
      "title": "Trade Growth Over Time",
      "topics": [
        "ct_growth"
      ]
    },
    {
      "page": "ct_hhi",
      "title": "Trade Concentration Index (HHI)",
      "topics": [
        "ct_hhi"
      ]
    },
    {
      "page": "ct_rca",
      "title": "Revealed Comparative Advantage (Balassa Index)",
      "topics": [
        "ct_rca"
      ]
    },
    {
      "page": "ct_reporters",
      "title": "List Reporter Countries",
      "topics": [
        "ct_reporters"
      ]
    },
    {
      "page": "ct_services",
      "title": "Get Services Trade Data",
      "topics": [
        "ct_services"
      ]
    },
    {
      "page": "ct_set_key",
      "title": "Set the Comtrade API Key",
      "topics": [
        "ct_set_key"
      ]
    },
    {
      "page": "ct_share",
      "title": "World Trade Share",
      "topics": [
        "ct_share"
      ]
    },
    {
      "page": "ct_top_partners",
      "title": "Top Trading Partners",
      "topics": [
        "ct_top_partners"
      ]
    },
    {
      "page": "ct_top_products",
      "title": "Top Export or Import Products",
      "topics": [
        "ct_top_products"
      ]
    },
    {
      "page": "ct_trade",
      "title": "Get Bilateral Trade Data",
      "topics": [
        "ct_trade"
      ]
    }
  ],
  "_readme": "https://github.com/charlescoverdale/comtrade/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_score": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "comtrade",
  "_universes": [
    "charlescoverdale"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-09T10:38:47.000Z",
      "distro": "resolute",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/067c305a014fbe4a5a0a0275637bca30253d4498f28123388b406be60ef4ebbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-09T10:38:50.000Z",
      "distro": "resolute",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/15323db1599af0665249618d335f53fbef7fd9786f1182b5cd89d33d8a1ae125",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-09T11:03:28.000Z",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/0a2a1c21df7b3bdc03c60143234c867d5d4b00b46b7b168dad81aed2528e3a15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-09T11:05:39.000Z",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/1d134862bbdb59dd35b3b0ac4ad3c0e728370462d81f6e84b2be853c642345b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-09T10:38:39.000Z",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/4343c809baf32c1c1ad9aeab185d132d51840e5c57968361f1c75c559599eb19",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T10:37:58.000Z",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/745c27aa2434414fe83bc07fcc15dc17af24376e5bc8cc68cb80735196b7c273",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T10:38:08.000Z",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/523a032e3f2832eadcded6ef8e8e0e43ead2fbaf2bd99725c9a48161037441c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T10:38:01.000Z",
      "commit": "d83b93d9c84c42535ccacab0f4d1153afb27e3e0",
      "fileid": "https://r2.ropensci.org/dfe641517c5075521dfae3f0deafab9772565a21fbdffad6acf2bdb83132a618",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/37918396682"
    }
  ]
}