{
  "_id": "6a5f88c314e95619b75d69c0",
  "Type": "Package",
  "Package": "tradestatistics",
  "Title": "Open Trade Statistics API Wrapper and Utility Program",
  "Version": "7.1.0",
  "Authors@R": "c(\nperson(\"Mauricio\", \"Vargas\", , \"m.vargas.sepulveda@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-1017-7574\")),\nperson(\"Joshua\", \"Kunst\", role = \"ctb\",\ncomment = \"contributed to different parts of the pre-release code\"),\nperson(\"Alexey\", \"Kravchenko\", role = \"ctb\",\ncomment = \"reviewed 2021 version of the API\"),\nperson(\"Emma\", \"Mendelsohn\", role = \"ctb\",\ncomment = \"updated the functions to take available years from the API instead of hardcoded values\"),\nperson(\"Daniela\", \"de los Santos\", role = \"ctb\",\ncomment = \"proposed improvements to default parameters\"),\nperson(\"Emily\", \"Riederer\", role = \"rev\",\ncomment = \"reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/274\"),\nperson(\"Mark\", \"Padgham\", role = \"rev\",\ncomment = \"reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/274\"),\nperson(\"Amanda\", \"Dobbyn\", role = \"rev\",\ncomment = \"reviewed a previous package that evolved into the current package for rOpenSci, see https://github.com/ropensci/onboarding/issues/217\"),\nperson(\"Jorge\", \"Cimentada\", role = \"rev\",\ncomment = \"reviewed a previous package that evolved into the current package for rOpenSci, see https://github.com/ropensci/onboarding/issues/217\"),\nperson(, \"UN Comtrade\", role = \"dtc\"),\nperson(, \"The World Bank\", role = \"dtc\")\n)",
  "Description": "Access 'Open Trade Statistics' API from R to download\ninternational trade data.",
  "License": "Apache License (>= 2)",
  "URL": "https://docs.ropensci.org/tradestatistics/",
  "BugReports": "https://github.com/ropensci/tradestatistics/issues/",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-21 14:54:03 UTC",
    "User": "root"
  },
  "Author": "Mauricio Vargas [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1017-7574>), Joshua Kunst [ctb]\n(contributed to different parts of the pre-release code),\nAlexey Kravchenko [ctb] (reviewed 2021 version of the API),\nEmma Mendelsohn [ctb] (updated the functions to take available\nyears from the API instead of hardcoded values), Daniela de los\nSantos [ctb] (proposed improvements to default parameters),\nEmily Riederer [rev] (reviewed the package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/274), Mark\nPadgham [rev] (reviewed the package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/274), Amanda\nDobbyn [rev] (reviewed a previous package that evolved into the\ncurrent package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/217), Jorge\nCimentada [rev] (reviewed a previous package that evolved into\nthe current package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/217), UN Comtrade\n[dtc], The World Bank [dtc]",
  "Maintainer": "Mauricio Vargas <m.vargas.sepulveda@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-21 12:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/tradestatistics",
  "RemoteRef": "HEAD",
  "RemoteSha": "ba5917b0109374eec52dc634638ee54ca283188d",
  "_user": "cran",
  "_type": "src",
  "_file": "tradestatistics_7.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/44bf56d7f7a1f0276c7aa8bf76a4f9c23eea2d79abb2fe628a79eb9793437dfe",
  "_filesize": 140234,
  "_sha256": "44bf56d7f7a1f0276c7aa8bf76a4f9c23eea2d79abb2fe628a79eb9793437dfe",
  "_expires": "2026-10-29T14:57:05.000Z",
  "_created": "2026-07-21T14:54:03.000Z",
  "_published": "2026-07-21T14:57:07.575Z",
  "_jobs": [
    {
      "job": 88670838301,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8499555732"
    },
    {
      "job": 88670838327,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499547998"
    },
    {
      "job": 88669507627,
      "time": 283,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8499473708"
    },
    {
      "job": 88670838472,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8499533534"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29840946310",
  "_status": "success",
  "_upstream": "https://github.com/cran/tradestatistics",
  "_commit": {
    "id": "ba5917b0109374eec52dc634638ee54ca283188d",
    "author": "Mauricio Vargas <m.vargas.sepulveda@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 7.1.0\n",
    "time": 1784636402
  },
  "_maintainer": {
    "name": "Mauricio Vargas",
    "email": "m.vargas.sepulveda@gmail.com",
    "login": "pachadotdev",
    "orcid": "0000-0003-1017-7574",
    "description": "Statistician interested in applying statistical methods to address specific policy-relevant questions, particularly in international trade.",
    "uuid": 10091065
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "crul",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "vcr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "6.0.0",
      "date": "2025-09-22"
    },
    {
      "name": "7.0.0",
      "date": "2026-07-07"
    },
    {
      "name": "7.1.0",
      "date": "2026-07-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pachadotdev",
      "count": 7,
      "uuid": 10091065
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 622,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 301,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tradestatistics"
  },
  "_devurl": "https://github.com/ropensci/tradestatistics",
  "_pkgdown": "https://docs.ropensci.org/tradestatistics/",
  "_searchresults": 68,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/tradestatistics.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/tradestatistics",
  "_realowner": "ropensci",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2019-04-06"
    },
    {
      "version": "0.2",
      "date": "2019-04-22"
    },
    {
      "version": "0.2.3",
      "date": "2019-08-28"
    },
    {
      "version": "0.2.4",
      "date": "2019-09-17"
    },
    {
      "version": "0.2.5",
      "date": "2019-09-19"
    },
    {
      "version": "0.2.7",
      "date": "2019-12-05"
    },
    {
      "version": "1.0",
      "date": "2020-04-03"
    },
    {
      "version": "1.1",
      "date": "2020-09-18"
    },
    {
      "version": "3.0.2",
      "date": "2022-03-01"
    },
    {
      "version": "4.4.0",
      "date": "2022-10-04"
    },
    {
      "version": "4.5.0",
      "date": "2023-06-30"
    },
    {
      "version": "5.0.0",
      "date": "2024-08-26"
    },
    {
      "version": "6.0.0",
      "date": "2025-09-22"
    },
    {
      "version": "7.0.0",
      "date": "2026-07-07"
    },
    {
      "version": "7.1.0",
      "date": "2026-07-21"
    }
  ],
  "_exports": [
    "ots_country_code",
    "ots_create_tidy_data",
    "ots_industry_code",
    "ots_sector_code"
  ],
  "_datasets": [
    {
      "name": "ots_countries",
      "title": "OTS Countries",
      "object": "ots_countries",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "iso3",
        "dynamic_code",
        "country",
        "continent",
        "colour"
      ],
      "rows": 263,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_industries",
      "title": "OTS Industries",
      "object": "ots_industries",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "industry_descr",
        "industry_id"
      ],
      "rows": 170,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_sectors",
      "title": "OTS Sectors",
      "object": "ots_sectors",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "broad_sector",
        "broad_sector_id",
        "colour"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_tables",
      "title": "OTS Tables",
      "object": "ots_tables",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "table",
        "description",
        "source"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ots_countries",
      "title": "OTS Countries",
      "topics": [
        "ots_countries"
      ]
    },
    {
      "page": "ots_country_code",
      "title": "String matching of official country names and ISO-3 codes according to the United Nations nomenclature",
      "topics": [
        "ots_country_code"
      ]
    },
    {
      "page": "ots_create_tidy_data",
      "title": "Downloads and processes the data from the API to return a human-readable tibble",
      "topics": [
        "ots_create_tidy_data"
      ]
    },
    {
      "page": "ots_industries",
      "title": "OTS Industries",
      "topics": [
        "ots_industries"
      ]
    },
    {
      "page": "ots_industry_code",
      "title": "String matching of industry names and IDs",
      "topics": [
        "ots_industry_code"
      ]
    },
    {
      "page": "ots_sector_code",
      "title": "String matching of broad sector names and IDs",
      "topics": [
        "ots_sector_code"
      ]
    },
    {
      "page": "ots_sectors",
      "title": "OTS Sectors",
      "topics": [
        "ots_sectors"
      ]
    },
    {
      "page": "ots_tables",
      "title": "OTS Tables",
      "topics": [
        "ots_tables"
      ]
    }
  ],
  "_rundeps": [
    "cachem",
    "cli",
    "crul",
    "curl",
    "data.table",
    "digest",
    "fastmap",
    "httpcode",
    "jsonlite",
    "lifecycle",
    "memoise",
    "mime",
    "R6",
    "Rcpp",
    "rlang",
    "triebeard",
    "urltools"
  ],
  "_vignettes": [
    {
      "source": "basic-usage.Rmd",
      "filename": "basic-usage.html",
      "title": "Basic usage",
      "author": "Mauricio Vargas S.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Package data",
        "Available tables",
        "Country codes",
        "Sector/industry codes",
        "Package functions",
        "Country code",
        "Sector/industry code",
        "Trade data",
        "Bilateral trade (aggregated)",
        "Bilateral trade (sector)",
        "Aggregate trade (industry)"
      ],
      "created": "2019-04-06 10:30:03",
      "modified": "2026-07-07 21:00:02",
      "commits": 12
    }
  ],
  "_score": 3.3096301674258988,
  "_indexed": false,
  "_nocasepkg": "tradestatistics",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/tradestatistics",
  "_previous": "7.0.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "7.1.0",
      "date": "2026-07-21T14:56:23.000Z",
      "distro": "resolute",
      "commit": "ba5917b0109374eec52dc634638ee54ca283188d",
      "fileid": "https://r2.ropensci.org/ce298b9b22e943ffe4a7a0f47073735e3a2fe9a4e8b34f1cc161864485de393b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29840946310"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "7.1.0",
      "date": "2026-07-21T14:56:14.000Z",
      "distro": "resolute",
      "commit": "ba5917b0109374eec52dc634638ee54ca283188d",
      "fileid": "https://r2.ropensci.org/ff35e7b9932415b939bf883e628b271509dc53e5c85d3ccd2fda09effb5e8139",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29840946310"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "7.1.0",
      "date": "2026-07-21T14:56:03.000Z",
      "commit": "ba5917b0109374eec52dc634638ee54ca283188d",
      "fileid": "https://r2.ropensci.org/9b7c0209b8a4cbc2675178115de61e81765c93983487a61f75fc9f506bf463e4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29840946310"
    }
  ]
}