{
  "_id": "6a104c28acfb0bcc41ca017c",
  "Package": "countries",
  "Type": "Package",
  "Title": "Deal with Country Data in an Easy Way",
  "Version": "1.2.2",
  "Authors@R": "person(\"Francesco Saverio\", \"Bellelli\", , \"fsabellelli@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(Website = \"https://fbellelli.com/\"))",
  "Description": "Wrangle country data more effectively and quickly. This\npackage contains functions to easily identify and convert\ncountry names, download country information, merge country data\nfrom different sources, and make quick world maps.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "URL": "https://fbellelli.github.io/countries/,\nhttps://github.com/fbellelli/countries",
  "BugReports": "https://github.com/fbellelli/countries/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://fbellelli.r-universe.dev",
  "Date/Publication": "2025-06-14 11:29:39 UTC",
  "RemoteUrl": "https://github.com/fbellelli/countries",
  "RemoteRef": "HEAD",
  "RemoteSha": "533dce94a68c6a7e365cfdf30902413470662ff7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 07:35:52 UTC",
    "User": "root"
  },
  "Author": "Francesco Saverio Bellelli [aut, cre, cph] (Website:\nhttps://fbellelli.com/)",
  "Maintainer": "Francesco Saverio Bellelli <fsabellelli@gmail.com>",
  "MD5sum": "6f8b0b45f00b94819e5d4cc797af1222",
  "_user": "fbellelli",
  "_type": "src",
  "_file": "countries_1.2.2.tar.gz",
  "_fileid": "6b77df6891032adc8626c01a7cf005748758ba4e9d582db8f0fc6d66e1f9251f",
  "_filesize": 3208484,
  "_sha256": "6b77df6891032adc8626c01a7cf005748758ba4e9d582db8f0fc6d66e1f9251f",
  "_created": "2026-05-10T07:35:52.000Z",
  "_published": "2026-05-22T12:29:28.118Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77379446310,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902014625"
    },
    {
      "job": 77379446319,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902016543"
    },
    {
      "job": 77379446702,
      "time": 202,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902015635"
    },
    {
      "job": 77379446516,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902011075"
    },
    {
      "job": 77379446357,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902000189"
    },
    {
      "job": 77379445999,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160485075"
    },
    {
      "job": 77379446402,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902012203"
    },
    {
      "job": 77379446929,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902012310"
    },
    {
      "job": 77379446646,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902015860"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fbellelli/countries",
  "_commit": {
    "id": "533dce94a68c6a7e365cfdf30902413470662ff7",
    "author": "Francesco Saverio Bellelli <fsabellelli@gmail.com>",
    "committer": "Francesco Saverio Bellelli <fsabellelli@gmail.com>",
    "message": "Patch adressing changes in ggplot package\n",
    "time": 1749900579
  },
  "_maintainer": {
    "name": "Francesco Saverio Bellelli",
    "email": "fsabellelli@gmail.com",
    "login": "fbellelli",
    "uuid": 85805299
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stringdist",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    }
  ],
  "_owner": "fbellelli",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.2",
      "date": "2025-06-14"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "fbellelli",
      "count": 80,
      "uuid": 85805299
    }
  ],
  "_userbio": {
    "uuid": 85805299,
    "type": "user",
    "name": "fbellelli"
  },
  "_downloads": {
    "count": 370,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/countries"
  },
  "_devurl": "https://github.com/fbellelli/countries",
  "_pkgdown": "https://fbellelli.github.io/countries/",
  "_searchresults": 72,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/countries.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fbellelli/countries",
  "_realowner": "fbellelli",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2023-09-01"
    },
    {
      "version": "1.0.4",
      "date": "2023-09-24"
    },
    {
      "version": "1.0.5",
      "date": "2023-10-06"
    },
    {
      "version": "1.1.1",
      "date": "2023-11-07"
    },
    {
      "version": "1.1.2",
      "date": "2024-01-10"
    },
    {
      "version": "1.2.0",
      "date": "2024-01-21"
    },
    {
      "version": "1.2.1",
      "date": "2025-02-22"
    },
    {
      "version": "1.2.2",
      "date": "2025-06-14"
    }
  ],
  "_exports": [
    "auto_melt",
    "auto_merge",
    "check_countries_api",
    "check_wide_format",
    "country_info",
    "country_name",
    "find_countrycol",
    "find_keycol",
    "find_timecol",
    "is_country",
    "is_date",
    "is_keycol",
    "list_countries",
    "list_fields",
    "match_table",
    "Mode",
    "palettes_countries",
    "quick_map",
    "random_countries",
    "which_max",
    "which_min",
    "which_mode"
  ],
  "_datasets": [
    {
      "name": "country_reference_list",
      "title": "Conversion table",
      "object": "country_reference_list",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "simple",
        "ISO3",
        "ISO2",
        "ISO_code",
        "UN_ar",
        "UN_zh",
        "UN_en",
        "UN_fr",
        "UN_ru",
        "UN_es",
        "WTO_en",
        "WTO_fr",
        "WTO_es",
        "GTAP",
        "name_ar",
        "name_bg",
        "name_cs",
        "name_da",
        "name_de",
        "name_el",
        "name_en",
        "name_es",
        "name_et",
        "name_eu",
        "name_fi",
        "name_fr",
        "name_hu",
        "name_it",
        "name_ja",
        "name_ko",
        "name_lt",
        "name_nl",
        "name_no",
        "name_pl",
        "name_pt",
        "name_ro",
        "name_ru",
        "name_sk",
        "name_sv",
        "name_th",
        "name_uk",
        "name_zh",
        "name_zh-tw",
        "Name0",
        "Name1",
        "Name2",
        "Name3",
        "Name4",
        "Name5",
        "Name6",
        "Name7",
        "Name8",
        "Name9",
        "Name10",
        "Name11",
        "Name12",
        "Name13",
        "Name14",
        "Name15",
        "Name16",
        "Name17",
        "Name18",
        "Name19"
      ],
      "rows": 505,
      "table": true,
      "tojson": true
    },
    {
      "name": "country_reference_list_long",
      "title": "Conversion table in long format",
      "object": "country_reference_list_long",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "nomenclature",
        "name"
      ],
      "rows": 12182,
      "table": true,
      "tojson": true
    },
    {
      "name": "world",
      "title": "World map data",
      "object": "world",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "group",
        "order",
        "region",
        "ISO3"
      ],
      "rows": 99338,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "auto_melt",
      "title": "Automatic pivoting of country and year columns to a long format",
      "topics": [
        "auto_melt"
      ]
    },
    {
      "page": "auto_merge",
      "title": "Simplified merging supporting different country nomenclatures and date formats",
      "topics": [
        "auto_merge"
      ]
    },
    {
      "page": "check_countries_api",
      "title": "Check if the connection to Countries REST API is working",
      "topics": [
        "check_countries_api"
      ]
    },
    {
      "page": "check_wide_format",
      "title": "Check for wide country data formats",
      "topics": [
        "check_wide_format"
      ]
    },
    {
      "page": "country_info",
      "title": "Get information about countries",
      "topics": [
        "country_info"
      ]
    },
    {
      "page": "country_name",
      "title": "Convert and translate country names",
      "topics": [
        "country_name"
      ]
    },
    {
      "page": "country_reference_list",
      "title": "Conversion table",
      "topics": [
        "country_reference_list"
      ]
    },
    {
      "page": "country_reference_list_long",
      "title": "Conversion table in long format",
      "topics": [
        "country_reference_list_long"
      ]
    },
    {
      "page": "find_countrycol",
      "title": "Finds columns containing country names",
      "topics": [
        "find_countrycol"
      ]
    },
    {
      "page": "find_keycol",
      "title": "Find a set of columns that uniquely identifies table entries",
      "topics": [
        "find_keycol"
      ]
    },
    {
      "page": "find_timecol",
      "title": "Finds columns containing date and year data",
      "topics": [
        "find_timecol"
      ]
    },
    {
      "page": "is_country",
      "title": "Tests whether a string is a country name",
      "topics": [
        "is_country"
      ]
    },
    {
      "page": "is_date",
      "title": "Test whether the input is a date",
      "topics": [
        "is_date"
      ]
    },
    {
      "page": "is_keycol",
      "title": "Test whether a set of column could be a data frame key",
      "topics": [
        "is_keycol"
      ]
    },
    {
      "page": "list_countries",
      "title": "Get a list of country names",
      "topics": [
        "list_countries"
      ]
    },
    {
      "page": "list_fields",
      "title": "List of accepted fields for the function country_info",
      "topics": [
        "list_fields"
      ]
    },
    {
      "page": "match_table",
      "title": "Create a conversion table for country names",
      "topics": [
        "match_table"
      ]
    },
    {
      "page": "mode",
      "title": "Statistical mode of a vector",
      "topics": [
        "Mode"
      ]
    },
    {
      "page": "palettes_countries",
      "title": "Discrete colour palettes",
      "topics": [
        "palettes_countries"
      ]
    },
    {
      "page": "quick_map",
      "title": "Easily visualise country data with a map",
      "topics": [
        "quick_map"
      ]
    },
    {
      "page": "random_countries",
      "title": "Output random country names",
      "topics": [
        "random_countries"
      ]
    },
    {
      "page": "which_min",
      "title": "Return location of minimum, maximum and mode values' index",
      "topics": [
        "which_max",
        "which_min",
        "which_mode"
      ]
    },
    {
      "page": "world",
      "title": "World map data",
      "topics": [
        "world"
      ]
    }
  ],
  "_pkglogo": "https://github.com/fbellelli/countries/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/fbellelli/countries/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "cpp11",
    "curl",
    "dplyr",
    "evaluate",
    "farver",
    "fastmatch",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "httr",
    "isoband",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringdist",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "dealing_with_names.Rmd",
      "filename": "dealing_with_names.html",
      "title": "Dealing with country names",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Identifying country names",
        "Getting a list of country names",
        "Converting and translating country names",
        "Further options and warning messages",
        "Using custom conversion tables"
      ],
      "created": "2022-02-27 11:30:01",
      "modified": "2024-01-20 22:04:29",
      "commits": 13
    },
    {
      "source": "auto_merge.Rmd",
      "filename": "auto_merge.html",
      "title": "Easy joining with auto_merge()",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example data",
        "Quick start",
        "The function in details",
        "Dynamic inputs",
        "Country names",
        "Pivotting of countries and years in table headers",
        "Inner vs full join",
        "Turning off messages",
        "Saving information on merging operations",
        "Manual merging orders",
        "Good to know"
      ],
      "created": "2023-08-04 13:29:27",
      "modified": "2023-09-01 10:04:31",
      "commits": 2
    }
  ],
  "_score": 5.811575005870593,
  "_indexed": true,
  "_nocasepkg": "countries",
  "_universes": [
    "fbellelli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-10T07:38:06.000Z",
      "distro": "noble",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "709e8948e8c2bae0d3bc9cf34efecd15940ccc16308cb138b8f99332cd7f2e7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-10T07:38:34.000Z",
      "distro": "noble",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "833c3fb47a168617f461fd813ad9adf1ef767f2659ca82dae6d0b8fda25294b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-10T07:38:28.000Z",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "1568714ea4a166202f5e9fe6d3ef0a8682641f014382672cefcfaea4e63d5885",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-10T07:37:42.000Z",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "f08c3aa18a646ae722bc64378cad110b4376cd89271cc5d58a3cf51e5b481057",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-10T07:37:17.000Z",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "62af32096dae4bf3dde6d64f9bea1df7b7670be4074a62bd1edf38bb13d13fb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-10T07:37:20.000Z",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "ce501466802e9a2a225f6f9b894f773d904e634158b56c1025756069d1549eb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-10T07:37:59.000Z",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "3005f7cff69e93494195e4cd82b1def2d0d83b97447b920bc075202b1fe45775",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-05-22T12:29:11.000Z",
      "commit": "533dce94a68c6a7e365cfdf30902413470662ff7",
      "fileid": "ff9ee9109e140b8fd331dafdd408d659ae192159fe93517d916e6132a11ad0c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/25622995102"
    }
  ]
}