{
  "_id": "6abb6daf99f7aa8c6aa43e87",
  "Type": "Package",
  "Package": "tradestatistics",
  "Title": "Open Trade Statistics API Wrapper and Utility Program",
  "Version": "5.0.0",
  "Authors@R": "c(\nperson(\"Mauricio\", \"Vargas\", , \"mavargas11@uc.cl\", 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",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2024-08-23 12:21:21 UTC",
  "RemoteUrl": "https://github.com/ropensci/tradestatistics",
  "RemoteRef": "master",
  "RemoteSha": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-29 07:46:25 UTC",
    "User": "root"
  },
  "Author": "Mauricio Vargas [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1017-7574>),\nJoshua Kunst [ctb] (contributed to different parts of the pre-release\ncode),\nAlexey Kravchenko [ctb] (reviewed 2021 version of the API),\nEmma Mendelsohn [ctb] (updated the functions to take available years\nfrom the API instead of hardcoded values),\nDaniela de los Santos [ctb] (proposed improvements to default\nparameters),\nEmily Riederer [rev] (reviewed the package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/274),\nMark Padgham [rev] (reviewed the package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/274),\nAmanda Dobbyn [rev] (reviewed a previous package that evolved into the\ncurrent package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/217),\nJorge Cimentada [rev] (reviewed a previous package that evolved into\nthe current package for rOpenSci, see\nhttps://github.com/ropensci/onboarding/issues/217),\nUN Comtrade [dtc],\nThe World Bank [dtc]",
  "Maintainer": "Mauricio Vargas <mavargas11@uc.cl>",
  "_user": "ropensci",
  "_type": "src",
  "_file": "tradestatistics_5.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a3817d14aba894df8c75c769adfc55b27b762657b677594798720290c11eb9e3",
  "_filesize": 502672,
  "_sha256": "a3817d14aba894df8c75c769adfc55b27b762657b677594798720290c11eb9e3",
  "_expires": "2027-01-07T07:50:05.000Z",
  "_created": "2026-09-29T07:46:25.000Z",
  "_published": "2026-09-29T07:50:07.581Z",
  "_jobs": [
    {
      "job": 109308579595,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11019667285"
    },
    {
      "job": 109308579590,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11019462567"
    },
    {
      "job": 109308579578,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11019278013"
    },
    {
      "job": 109308579597,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11019342855"
    },
    {
      "job": 109307225167,
      "time": 156,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11018968495"
    },
    {
      "job": 109307225085,
      "time": 250,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11019716588"
    },
    {
      "job": 109308579667,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11019168833"
    },
    {
      "job": 109308579805,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11019831414"
    },
    {
      "job": 109308579616,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11019920986"
    },
    {
      "job": 109308579602,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11019831427"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992",
  "_status": "success",
  "_upstream": "https://github.com/ropensci/tradestatistics",
  "_commit": {
    "id": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
    "author": "Mauricio \"Pachá\" Vargas Sepúlveda <mavargas11@uc.cl>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #77 from pachadotdev/master\n\nremove DO logo",
    "time": 1724415681
  },
  "_maintainer": {
    "name": "Mauricio Vargas",
    "email": "mavargas11@uc.cl",
    "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": "utils",
      "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": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "api-wrapper",
    "data-table",
    "international-trade",
    "jsonlite",
    "open-trade-statistics"
  ],
  "_stars": 82,
  "_contributors": [
    {
      "user": "pachadotdev",
      "count": 86,
      "uuid": 10091065
    },
    {
      "user": "eliocamp",
      "count": 4,
      "uuid": 8617595
    },
    {
      "user": "emmamendelsohn",
      "count": 3,
      "uuid": 16726030
    },
    {
      "user": "jeroen",
      "count": 1,
      "uuid": 216319
    },
    {
      "user": "mpadge",
      "count": 1,
      "uuid": 6697851
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "followers": 1157,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 382,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tradestatistics"
  },
  "_devurl": "https://github.com/ropensci/tradestatistics",
  "_pkgdown": "https://docs.ropensci.org/tradestatistics/",
  "_searchresults": 0,
  "_metadata": {
    "review": {
      "id": 274,
      "status": "reviewed",
      "version": "0.1",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/274"
    },
    "ropensci_category": "data-access"
  },
  "_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/tradestatistics.html"
  ],
  "_homeurl": "https://github.com/ropensci/tradestatistics",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_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_commodity_code",
    "ots_country_code",
    "ots_create_tidy_data",
    "ots_gdp_deflator_adjustment"
  ],
  "_datasets": [
    {
      "name": "ots_commodities",
      "title": "OTS Commodities",
      "object": "ots_commodities",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "commodity_code",
        "commodity_code_short",
        "commodity_fullname_english",
        "section_code"
      ],
      "rows": 5302,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_commodities_short",
      "title": "OTS Commodities Short",
      "object": "ots_commodities_short",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "commodity_code",
        "commodity_fullname_english"
      ],
      "rows": 1225,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_countries",
      "title": "OTS Countries",
      "object": "ots_countries",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "country_iso",
        "country_name_english",
        "country_fullname_english",
        "continent_name_english",
        "continent_id"
      ],
      "rows": 275,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_countries_colors",
      "title": "OTS Countries Colors",
      "object": "ots_countries_colors",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "country_iso",
        "continent_id",
        "country_color"
      ],
      "rows": 275,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_gdp_deflator",
      "title": "GDP Deflator",
      "object": "ots_gdp_deflator",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "year_from",
        "year_to",
        "country_iso",
        "gdp_deflator"
      ],
      "rows": 8010,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_sections",
      "title": "OTS Sections",
      "object": "ots_sections",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "section_code",
        "section_fullname_english"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_sections_colors",
      "title": "OTS Sections Colors",
      "object": "ots_sections_colors",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "section_code",
        "section_color"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "ots_tables",
      "title": "OTS Tables",
      "object": "ots_tables",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "table",
        "description",
        "source"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ots_commodities",
      "title": "OTS Commodities",
      "topics": [
        "ots_commodities"
      ]
    },
    {
      "page": "ots_commodities_short",
      "title": "OTS Commodities Short",
      "topics": [
        "ots_commodities_short"
      ]
    },
    {
      "page": "ots_commodity_code",
      "title": "String matching of official commodity/section names and Harmonized System (HS) codes according to the United Nations nomenclature",
      "topics": [
        "ots_commodity_code"
      ]
    },
    {
      "page": "ots_countries",
      "title": "OTS Countries",
      "topics": [
        "ots_countries"
      ]
    },
    {
      "page": "ots_countries_colors",
      "title": "OTS Countries Colors",
      "topics": [
        "ots_countries_colors"
      ]
    },
    {
      "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_gdp_deflator",
      "title": "GDP Deflator",
      "topics": [
        "ots_gdp_deflator"
      ]
    },
    {
      "page": "ots_gdp_deflator_adjustment",
      "title": "Expresses tidy data from the API in dollars of a reference year",
      "topics": [
        "ots_gdp_deflator_adjustment"
      ]
    },
    {
      "page": "ots_sections",
      "title": "OTS Sections",
      "topics": [
        "ots_sections"
      ]
    },
    {
      "page": "ots_sections_colors",
      "title": "OTS Sections Colors",
      "topics": [
        "ots_sections_colors"
      ]
    },
    {
      "page": "ots_tables",
      "title": "OTS Tables",
      "topics": [
        "ots_tables"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/tradestatistics/raw/master/README.md",
  "_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",
        "Commodity codes",
        "Inflation data",
        "Package functions",
        "Country code",
        "Commodity code",
        "Trade data",
        "Bilateral trade at commodity level (Year - Reporter - Partner - Commodity Code)",
        "Bilateral trade at aggregated level (Year - Reporter - Partner)",
        "Reporter trade at commodity level (Year - Reporter - Commodity Code)",
        "Reporter trade at aggregated level (Year - Reporter)",
        "Commodity trade at aggregated level (Year - Commodity Code)",
        "Inflation adjustment"
      ],
      "created": "2019-01-05 16:20:18",
      "modified": "2024-08-23 00:12:45",
      "commits": 28
    }
  ],
  "_score": 6.214843848047698,
  "_indexed": true,
  "_nocasepkg": "tradestatistics",
  "_universes": [
    "ropensci",
    "pachadotdev"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.0.0",
      "date": "2026-09-29T07:48:44.000Z",
      "distro": "resolute",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/1fe3338c16a248326d7389de58b511ea8ef1eafcaf4850b3547189f0fdf0c9fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "5.0.0",
      "date": "2026-09-29T07:49:11.000Z",
      "distro": "resolute",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/a3f5496477dde78c1bdad24230c0c084a1e7ef487f3d5aa744e6854577aa7a9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.0.0",
      "date": "2026-09-29T07:48:42.000Z",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/969d71c2d8ea72cbda5997aed3eacf71a33b976003105037fd3d2663f7110966",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "5.0.0",
      "date": "2026-09-29T07:48:16.000Z",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/17631ff792932efbcb6d0bd4a0936d25f1b99dbadd57f66735cb7be175096c97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "5.0.0",
      "date": "2026-09-29T07:48:48.000Z",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/b3658b086a1ec047dc5452e14b38f16e670a11f61282b28b6012be7e3a285ea3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-09-29T07:47:34.000Z",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/23d0b0ea85b40cbb9810016d7ed1962a3f191122c2de72bf1fa4d28f2888f5d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-09-29T07:47:31.000Z",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/3b26dfbcbbdc9d6b1d7740740afd5b4ff41b50603851d1255eb7a0b70422c4e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-09-29T07:47:41.000Z",
      "commit": "4c0b85989f0085f4eb4c16eaefab6214b7854b6b",
      "fileid": "https://r2.ropensci.org/1505e6cb092852a18f637ded17526ef78933ed4ffe1d989a31ab6ff2b584db81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/36538195992"
    }
  ]
}