{
  "_id": "6acbbe2efe5cc25786e931fb",
  "Package": "countries",
  "Type": "Package",
  "Title": "Deal with Country Data in an Easy Way",
  "Version": "1.2.5",
  "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",
  "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/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://fbellelli.r-universe.dev",
  "Date/Publication": "2026-10-11 14:26:17 UTC",
  "RemoteUrl": "https://github.com/fbellelli/countries",
  "RemoteRef": "HEAD",
  "RemoteSha": "2596173268ffe6a6f021ec25ed51960ca2e11578",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 16:36:47 UTC",
    "User": "root"
  },
  "Author": "Francesco Saverio Bellelli [aut, cre, cph] (Website:\nhttps://fbellelli.com/)",
  "Maintainer": "Francesco Saverio Bellelli <fsabellelli@gmail.com>",
  "_user": "fbellelli",
  "_type": "src",
  "_file": "countries_1.2.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/27ff921e0f42aff186e42a743ba32ee5f3a654f55ec00a7f7c97b38963f9ef79",
  "_filesize": 1889331,
  "_sha256": "27ff921e0f42aff186e42a743ba32ee5f3a654f55ec00a7f7c97b38963f9ef79",
  "_expires": "2027-01-19T16:49:48.000Z",
  "_created": "2026-10-11T16:36:47.000Z",
  "_published": "2026-10-11T16:49:49.900Z",
  "_buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114519633131,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11708870709"
    },
    {
      "job": 114519633217,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708646472"
    },
    {
      "job": 114519633115,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11708289957"
    },
    {
      "job": 114519633181,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708796078"
    },
    {
      "job": 114518747984,
      "time": 262,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708572983"
    },
    {
      "job": 114519633139,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11708448546"
    },
    {
      "job": 114519633212,
      "time": 122,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707894438"
    },
    {
      "job": 114519633202,
      "time": 113,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11708034560"
    },
    {
      "job": 114519633175,
      "time": 106,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11708533387"
    }
  ],
  "_upstream": "https://github.com/fbellelli/countries",
  "_commit": {
    "id": "2596173268ffe6a6f021ec25ed51960ca2e11578",
    "author": "Francesco Saverio Bellelli <fsabellelli@gmail.com>",
    "committer": "Francesco Saverio Bellelli <fsabellelli@gmail.com>",
    "message": "change to CRAN-SUBMISSION\n",
    "time": 1791728777
  },
  "_maintainer": {
    "name": "Francesco Saverio Bellelli",
    "email": "fsabellelli@gmail.com",
    "login": "fbellelli",
    "description": "",
    "uuid": 85805299
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "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"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    }
  ],
  "_owner": "fbellelli",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-25",
      "n": 4
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.2.3",
      "date": "2026-06-17"
    },
    {
      "name": "v.1.2.4",
      "date": "2026-07-18"
    },
    {
      "name": "v1.2.5",
      "date": "2026-10-11"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "fbellelli",
      "count": 88,
      "uuid": 85805299
    }
  ],
  "_userbio": {
    "uuid": 85805299,
    "type": "user",
    "name": "fbellelli",
    "followers": 1
  },
  "_downloads": {
    "count": 762,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/countries"
  },
  "_devurl": "https://github.com/fbellelli/countries",
  "_pkgdown": "https://fbellelli.github.io/countries/",
  "_searchresults": 81,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/countries.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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"
    },
    {
      "version": "1.2.3",
      "date": "2026-06-17"
    },
    {
      "version": "1.2.4",
      "date": "2026-07-18"
    },
    {
      "version": "1.2.5",
      "date": "2026-10-11"
    }
  ],
  "_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": 12192,
      "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": 6.464787519645937,
  "_indexed": true,
  "_nocasepkg": "countries",
  "_universes": [
    "fbellelli"
  ],
  "_previous": "1.2.4",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-10-11T16:39:19.000Z",
      "distro": "resolute",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/77cab0e754a432d2fae752dc07b7d2fbda95c617f2b545d59999c8d6927c60ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-10-11T16:39:58.000Z",
      "distro": "resolute",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/89e63dc6072aaeac21595e8927621a787cef117538ba45b4b3998c33a3555a94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-10-11T16:47:49.000Z",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/69fec06f839f764fa2d01fe629edb0c410088461f6367ddc37844536bc24b820",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-10-11T16:47:55.000Z",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/d30edf92085f8a6d01d394696d18e4eb14dc410cd3ca8be2a3ac81af6f1febcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-10-11T16:39:09.000Z",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/47e18cf4d9907228a8560e715da7995f808682d97f307bbfbc5897cea2c8ae3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-11T16:38:16.000Z",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/bf289b8371e9571e1a9a0c7c7a548281b5b7687bb49ea51371965ec9e9c968b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-11T16:38:19.000Z",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/3d4bfc8adc937929b128376d26799fe9a5e79bf494b12ad4148d91749ca9916a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-11T16:38:04.000Z",
      "commit": "2596173268ffe6a6f021ec25ed51960ca2e11578",
      "fileid": "https://r2.ropensci.org/984d0f39377f13a0b402ed432194f894fc98addde174da9c0bbfabb4fa8a5539",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fbellelli/actions/runs/38155894629"
    }
  ]
}