{
  "_id": "6a1be9721d7bb097a0a1ce87",
  "Package": "FAOSTAT",
  "Type": "Package",
  "Title": "Download Data from the FAOSTAT Database",
  "Version": "2.4.2",
  "Date": "2026-04-01",
  "Authors@R": "c(person(given = c(\"Michael\", \"C.\"),\nfamily = \"J.\",\nrole = \"aut\"),\nperson(given = \"Markus\",\nfamily = \"Gesmann\",\nrole = \"aut\"),\nperson(given = \"Filippo\",\nfamily = \"Gheri\",\nrole = \"aut\"),\nperson(given = \"Paul\",\nfamily = \"Rougieux\",\nrole = c(\"aut\", \"cre\"),\nemail = \"paul.rougieux@gmail.com\"),\nperson(given = \"Sebastian\",\nfamily = \"Campbell\",\nrole = \"aut\"))",
  "Maintainer": "Paul Rougieux <paul.rougieux@gmail.com>",
  "Description": "Download Data from the FAOSTAT Database of the Food and\nAgricultural Organization (FAO) of the United Nations. A list\nof functions to download statistics from FAOSTAT (database of\nthe FAO <https://www.fao.org/faostat/>) and WDI (database of\nthe World Bank <https://data.worldbank.org/>), and to perform\nsome harmonization operations.",
  "URL": "https://gitlab.com/paulrougieux/faostatpackage",
  "BugReports": "https://gitlab.com/paulrougieux/faostatpackage/-/issues",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "yes",
  "ZipData": "no",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://paulrougieux.r-universe.dev",
  "Date/Publication": "2026-04-01 09:19:26 UTC",
  "RemoteUrl": "https://gitlab.com/paulrougieux/faostatpackage",
  "RemoteRef": "HEAD",
  "RemoteSha": "f1bded9f58304d95e4053d3771f95ec0f4599313",
  "RemoteSubdir": "FAOSTAT",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 07:12:04 UTC",
    "User": "root"
  },
  "Author": "Michael C. J. [aut],\nMarkus Gesmann [aut],\nFilippo Gheri [aut],\nPaul Rougieux [aut, cre],\nSebastian Campbell [aut]",
  "MD5sum": "4e4a27d14b9a05e0342fc7fddc182189",
  "_user": "paulrougieux",
  "_type": "src",
  "_file": "FAOSTAT_2.4.2.tar.gz",
  "_fileid": "e08e05a76762a6200380815ec8e11609c5a0bcd1bba7f51df90c14b17da4baa0",
  "_filesize": 474332,
  "_sha256": "e08e05a76762a6200380815ec8e11609c5a0bcd1bba7f51df90c14b17da4baa0",
  "_created": "2026-05-31T07:12:04.000Z",
  "_published": "2026-05-31T07:55:30.931Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78707842328,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314709283"
    },
    {
      "job": 78707842331,
      "time": 264,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314726520"
    },
    {
      "job": 78707842374,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314967105"
    },
    {
      "job": 78707842387,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314994655"
    },
    {
      "job": 78707705082,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314696410"
    },
    {
      "job": 78707842318,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314707978"
    },
    {
      "job": 78707842345,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314705887"
    },
    {
      "job": 78707842344,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314707271"
    },
    {
      "job": 78707842351,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314705685"
    }
  ],
  "_buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://gitlab.com/paulrougieux/faostatpackage",
  "_commit": {
    "id": "f1bded9f58304d95e4053d3771f95ec0f4599313",
    "author": "Paul Rougieux <paul.rougieux@gmail.com>",
    "committer": "Paul Rougieux <paul.rougieux@gmail.com>",
    "message": "Format for CRAN\n",
    "time": 1775035166
  },
  "_maintainer": {
    "name": "Paul Rougieux",
    "email": "paul.rougieux@gmail.com",
    "login": "paulrougieux",
    "description": "Freelance Data Scientist, Forest Economist and Wood Products Engineer",
    "uuid": 5647397
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "RJSONIO",
      "version": ">= 0.96-0",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "version": ">= 1.7.1",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.8.2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "version": ">= 7.3-22",
      "role": "Imports"
    },
    {
      "package": "classInt",
      "version": ">= 0.1-19",
      "role": "Imports"
    },
    {
      "package": "labeling",
      "version": ">= 0.1",
      "role": "Imports"
    },
    {
      "package": "httr",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    }
  ],
  "_owner": "gitlab-paulrougieux",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 9
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 5647397,
    "type": "user",
    "name": "Paul Rougieux",
    "description": "Freelance Data Scientist, Forest Economist and Wood Products Engineer"
  },
  "_downloads": {
    "count": 964,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/FAOSTAT"
  },
  "_mentions": 190,
  "_devurl": "https://gitlab.com/paulrougieux/faostatpackage",
  "_searchresults": 135,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/FAOSTAT.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://gitlab.com/paulrougieux/faostatpackage",
  "_realowner": "paulrougieux",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2013-02-01"
    },
    {
      "version": "1.3",
      "date": "2013-05-06"
    },
    {
      "version": "1.4",
      "date": "2013-05-30"
    },
    {
      "version": "1.6",
      "date": "2014-03-14"
    },
    {
      "version": "1.9",
      "date": "2014-10-28"
    },
    {
      "version": "2.0",
      "date": "2015-06-01"
    },
    {
      "version": "2.1.1",
      "date": "2020-02-04"
    },
    {
      "version": "2.1.2",
      "date": "2020-04-06"
    },
    {
      "version": "2.2.1",
      "date": "2020-11-13"
    },
    {
      "version": "2.2.3",
      "date": "2022-01-05"
    },
    {
      "version": "2.2.4",
      "date": "2023-02-14"
    },
    {
      "version": "2.3.0",
      "date": "2023-03-30"
    },
    {
      "version": "2.3.1",
      "date": "2024-05-02"
    },
    {
      "version": "2.4.0",
      "date": "2024-05-22"
    },
    {
      "version": "2.4.2",
      "date": "2026-04-01"
    }
  ],
  "_exports": [
    "Aggregation",
    "change_case",
    "chConstruct",
    "check_country_overlap",
    "chgr",
    "CHMT",
    "constructSYB",
    "download_faostat_bulk",
    "ebind",
    "FAOsearch",
    "faostat_login",
    "fillCountryCode",
    "geogr",
    "get_faostat_bulk",
    "get_faostat_bulk_api",
    "get_faostat_bulk_url",
    "getFAO",
    "getWDI",
    "getWDImetaData",
    "getWDItoSYB",
    "grConstruct",
    "indConstruct",
    "lsgr",
    "mergeSYB",
    "overlap",
    "printLab",
    "read_bulk_metadata",
    "read_dataset_dimension",
    "read_dimension_metadata",
    "read_fao",
    "read_faostat_bulk",
    "scaleUnit",
    "search_dataset",
    "shConstruct",
    "translate_countrycodes",
    "translateCountryCode",
    "translateUnit"
  ],
  "_datasets": [
    {
      "name": "FAOcountryProfile",
      "title": "Country profile",
      "object": "FAOcountryProfile",
      "class": [
        "data.frame"
      ],
      "fields": [
        "FAOST_CODE",
        "ADM0_CODE",
        "ISO2_CODE",
        "ISO2_WB_CODE",
        "ISO3_CODE",
        "ISO3_WB_CODE",
        "UN_CODE",
        "CRS_CODE",
        "MOTHER_M49_CODE",
        "M49_FAOST_CODE",
        "FAO_TABLE_NAME",
        "OFFICIAL_FAO_NAME",
        "UNOFFICIAL1_NAME",
        "UNOFFICIAL2_NAME",
        "UNOFFICIAL3_NAME",
        "SHORT_NAME",
        "ABBR_FAO_NAME_SP",
        "UN_YEAR_START_INFO",
        "UN_YEAR_END_INFO",
        "FORMER_MEMBER_INFO",
        "COMPOSITION_INFO",
        "UN_STATUS_INFO"
      ],
      "rows": 284,
      "table": true,
      "tojson": true
    },
    {
      "name": "FAOmetaTable",
      "title": "The search tree for FAOSTAT3",
      "object": "FAOmetaTable",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "FAOregionProfile",
      "title": "Regional profile",
      "object": "FAOregionProfile",
      "class": [
        "data.frame"
      ],
      "fields": [
        "FAOST_CODE",
        "ADM0_CODE",
        "ISO2_CODE",
        "ISO2_WB_CODE",
        "ISO3_CODE",
        "ISO3_WB_CODE",
        "UN_CODE",
        "CRS_CODE",
        "MOTHER_M49_CODE",
        "M49_FAOST_CODE",
        "FAO_STATUS_INFO",
        "FAO_TABLE_NAME",
        "OFFICIAL_FAO_NAME",
        "UNOFFICIAL1_NAME",
        "UNOFFICIAL2_NAME",
        "UNOFFICIAL3_NAME",
        "SHORT_NAME",
        "ABBR_FAO_NAME_SP",
        "UN_YEAR_START_INFO",
        "UN_YEAR_END_INFO",
        "FORMER_MEMBER_INFO",
        "COMPOSITION_INFO",
        "UN_STATUS_INFO",
        "M49",
        "UNSD_WORLD_REG",
        "UNSD_WORLD_REG_CODE",
        "UNSD_MACRO_REG",
        "UNSD_MACRO_REG_CODE",
        "UNSD_SUB_REG",
        "UNSD_SUB_REG_CODE",
        "UNSD_DVDDVG_REG",
        "UNSD_DVDDVG_REG_CODE",
        "UNSD_LDC_REG",
        "UNSD_LLDC_REG",
        "UNSD_SIDS_REG",
        "UNSD_OTHER_REG_CODE",
        "UNSD_OTHER_REG",
        "CHINA357_REG",
        "CHINA351_REG",
        "SOFI_WORLD_REG_CODE",
        "SOFI_WORLD_REG",
        "SOFI_DVDDVG_REG_CODE",
        "SOFI_DVDDVG_REG",
        "SOFI_MACRO_REG_CODE",
        "SOFI_MACRO_REG",
        "SOFI_SUB_REG_CODE",
        "SOFI_SUB_REG",
        "SOFI_OTHER_REG_CODE",
        "SOFI_OTHER_REG",
        "SOFI_FAO_RAF_REG",
        "SOFI_FAO_RAP_REG",
        "SOFI_FAO_REU_REG",
        "SOFI_FAO_LAC_REG",
        "SOFI_FAO_RNE_REG",
        "WB_LIE_REG",
        "WB_LMIE_REG",
        "FAO_LIFDC_REG",
        "REU_BOOK",
        "FAO_REU_REG",
        "FAO_REU_SUB_REG",
        "RAP_BOOK",
        "FAO_RAP_REG",
        "FAO_RAP_SUB_REG",
        "FAO_RAP_DVDDVG_REG",
        "RAF_BOOK",
        "FAO_RAF_REG",
        "FAO_RAF_SUB_REG",
        "COMESA_REG",
        "ECOWAS_REG",
        "ECCAS_REG",
        "SADC_REG",
        "IGAD_REG",
        "UMA_REG",
        "CEMAC_REG",
        "UEMOA_REG",
        "CENSAD_REG",
        "LAC_BOOK",
        "FAO_LAC_REG",
        "FAO_LAC_SUB_REG",
        "RNE_BOOK",
        "FAO_RNE_REG",
        "FAO_RNE_SUB_REG"
      ],
      "rows": 284,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "FAOSTAT-package",
      "title": "A complementary package to the FAOSTAT database and the Statistical Yearbook of the Food and Agricultural Organization of the United Nations.",
      "topics": [
        "FAOSTAT-package",
        "FAOSTAT"
      ]
    },
    {
      "page": "Aggregation",
      "title": "Compute Aggregates",
      "topics": [
        "Aggregation"
      ]
    },
    {
      "page": "change_case",
      "title": "Change case of column names",
      "topics": [
        "change_case"
      ]
    },
    {
      "page": "chConstruct",
      "title": "Construct year to year change",
      "topics": [
        "chConstruct"
      ]
    },
    {
      "page": "check_country_overlap",
      "title": "This function perform some check on the data",
      "topics": [
        "check_country_overlap"
      ]
    },
    {
      "page": "chgr",
      "title": "Absolute change between the year",
      "topics": [
        "chgr"
      ]
    },
    {
      "page": "CHMT",
      "title": "This function avoids double counting of China.",
      "topics": [
        "CHMT"
      ]
    },
    {
      "page": "constructSYB",
      "title": "Construct/Creat new variable.",
      "topics": [
        "constructSYB"
      ]
    },
    {
      "page": "download_faostat_bulk",
      "title": "Download bulk data from the faostat website https://www.fao.org/faostat/en/#data",
      "topics": [
        "download_faostat_bulk",
        "get_faostat_bulk",
        "get_faostat_bulk_api",
        "get_faostat_bulk_url",
        "read_bulk_metadata",
        "read_faostat_bulk"
      ]
    },
    {
      "page": "ebind",
      "title": "A function to bind the different entity level.",
      "topics": [
        "ebind"
      ]
    },
    {
      "page": "FAOcountryProfile",
      "title": "Country profile",
      "topics": [
        "FAOcountryProfile"
      ]
    },
    {
      "page": "FAOmetaTable",
      "title": "The search tree for FAOSTAT3",
      "topics": [
        "FAOmetaTable"
      ]
    },
    {
      "page": "FAOregionProfile",
      "title": "Regional profile",
      "topics": [
        "FAOregionProfile"
      ]
    },
    {
      "page": "faostat_login",
      "title": "Register for a FAOSTAT account and login to get an access token",
      "topics": [
        "faostat_login"
      ]
    },
    {
      "page": "fillCountryCode",
      "title": "A function to get country code when not available in data.",
      "topics": [
        "fillCountryCode"
      ]
    },
    {
      "page": "geogr",
      "title": "Geometric growth rate",
      "topics": [
        "geogr"
      ]
    },
    {
      "page": "getWDI",
      "title": "Access to World Bank WDI API",
      "topics": [
        "getWDI"
      ]
    },
    {
      "page": "getWDImetaData",
      "title": "World Bank Indicator Metadata",
      "topics": [
        "getWDImetaData"
      ]
    },
    {
      "page": "getWDItoSYB",
      "title": "Access to World Bank WDI API",
      "topics": [
        "getWDItoSYB"
      ]
    },
    {
      "page": "grConstruct",
      "title": "Construct Growth rate",
      "topics": [
        "grConstruct"
      ]
    },
    {
      "page": "indConstruct",
      "title": "Construct indices",
      "topics": [
        "indConstruct"
      ]
    },
    {
      "page": "lsgr",
      "title": "Least squares growth rate",
      "topics": [
        "lsgr"
      ]
    },
    {
      "page": "mergeSYB",
      "title": "Function for merging data from different source.",
      "topics": [
        "mergeSYB"
      ]
    },
    {
      "page": "overlap",
      "title": "This function checks whether there are overlapping between the transitional countries.",
      "topics": [
        "overlap"
      ]
    },
    {
      "page": "printLab",
      "title": "Print labels",
      "topics": [
        "printLab"
      ]
    },
    {
      "page": "read_dataset_dimension",
      "title": "Examine dimensions of a dataset",
      "topics": [
        "read_dataset_dimension",
        "read_dimension_metadata"
      ]
    },
    {
      "page": "read_fao",
      "title": "Access FAOSTAT API",
      "topics": [
        "getFAO",
        "read_fao"
      ]
    },
    {
      "page": "scaleUnit",
      "title": "A function to standardize the unit",
      "topics": [
        "scaleUnit"
      ]
    },
    {
      "page": "search_dataset",
      "title": "Search FAOSTAT dataset_codes, datasets, elements, indicators, and items",
      "topics": [
        "FAOsearch",
        "search_dataset"
      ]
    },
    {
      "page": "shConstruct",
      "title": "Construct share variable",
      "topics": [
        "shConstruct"
      ]
    },
    {
      "page": "translate_countrycodes",
      "title": "A function to translate between different country coding systems",
      "topics": [
        "translateCountryCode",
        "translate_countrycodes"
      ]
    },
    {
      "page": "translateUnit",
      "title": "Function to translate multipliers",
      "topics": [
        "translateUnit"
      ]
    }
  ],
  "_readme": "https://gitlab.com/paulrougieux/faostatpackage/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "class",
    "classInt",
    "curl",
    "data.table",
    "e1071",
    "httr",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "MASS",
    "mime",
    "openssl",
    "plyr",
    "proxy",
    "R6",
    "Rcpp",
    "RJSONIO",
    "sys"
  ],
  "_vignettes": [
    {
      "source": "FAOSTAT.Rnw",
      "filename": "FAOSTAT.pdf",
      "title": "Download and harmonize FAOSTAT and WDI data: the FAOSTAT package",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2014-07-30 07:07:06",
      "modified": "2026-04-01 08:52:40",
      "commits": 15
    }
  ],
  "_score": 6.607455023214668,
  "_indexed": true,
  "_nocasepkg": "faostat",
  "_universes": [
    "paulrougieux",
    "gitlab-paulrougieux"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.2",
      "date": "2026-05-31T07:13:53.000Z",
      "distro": "noble",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "d21de5b30a17a673dad48161278a800becf6189619c7418ed9e9bd56208fca67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4.2",
      "date": "2026-05-31T07:16:26.000Z",
      "distro": "noble",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "ea9da26c6d41d21357b9c2cd17425e1afad500b1e8f58a3f3d29856a9096a601",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.2",
      "date": "2026-05-31T07:50:11.000Z",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "a3c4f07a8fd1c2fe40bcf47f15856c66d622eb4ec1065c1360b7241a0ff1f525",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.4.2",
      "date": "2026-05-31T07:54:24.000Z",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "f6b71c7cd338cdf430bcc878ba77bf5a42d8f42764b5b7fbcd3c911d4b84b40d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.2",
      "date": "2026-05-31T07:14:00.000Z",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "4221d69c7c4a7ee0782faf9a784c322f614a0d4224f713c72777a4df6a15e9be",
      "status": "success",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.2",
      "date": "2026-05-31T07:13:18.000Z",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "2dc622707ed482f89672c43f1a5084630c5e331bb7a440ac2c90cafef4a2211f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4.2",
      "date": "2026-05-31T07:13:30.000Z",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "6c49ac66146971768c8cf0c89f850b548a03c9e2362f5d26c62df7d77870b223",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.4.2",
      "date": "2026-05-31T07:13:17.000Z",
      "commit": "f1bded9f58304d95e4053d3771f95ec0f4599313",
      "fileid": "0722b165a0a6d4a2e20993f1d94a9617753241ffbc279a4e3a465e4815ef5f66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulrougieux/actions/runs/26706148829"
    }
  ]
}