Skip to contents

countries 1.0.4

CRAN release: 2023-09-24

  • Fixed bug in auto_merge that was preventing column names to be passed in by order for regular expressions.

countries 1.0.3

CRAN release: 2023-09-01

  • Fixed hyperlinks in for resubmission
  • Eliminated references to unexported objects in documentation
  • Package accepted on CRAN!!

countries 1.0

  • First CRAN submission

countries 0.3

  • Added function country_info() to download information about countries (e.g. capital city, currency, neighbouring countries, etc.)
  • Added function list_fields() returning a list of accepted fields for country_info()
  • Added function auto_merge() to quickly join multiple dataset and automatically deal with country names and time columns
  • Added function auto_melt() to automatically pivot tables containing country names and years in their headers
  • Added function quick_map() to easily plot coloured country maps
  • Added function palettes_countries() providing access to the package’s colour themes
  • Added vignette on plotting chloropleth maps with quick_map and merging country data with auto_merge()
  • Bug fixes

countries 0.2

  • Added function is_country() to test whether a string is a country name or related to list of countries names
  • Added function is_date() to test whether values are dates
  • Added function is_keycol() to test whether a set of columns could be the keys of a table
  • Added function find_countrycol() to automate search of columns containing country names in data frames
  • Added function find_timecol() to automate search of date and/or year columns in data frames
  • Added function find_keycol() to automate search of table keys in data frames
  • Added functions which_min(), which_max() and which_mode() returning all the positions of vector’s minimum, maximum and mode values.
  • Speed improvements for the functions country_name() and match_table()
  • Bug fixes
  • Added vignette on data structure

countries 0.1

  • Function country_name() for converting and translating country names based on a fuzzy matching approach
  • Function match_table() to easily construct conversion tables with the help of fuzzy matching algorithm
  • Function Mode() returns the statistical mode of a vectors (most frequent observation)
  • Dataset country_reference_list containing a country names in different languages and naming conventions
  • Added vignettes and documentation
  • Created website for the package