Skip to content

Releases: ropensci/naijR

naijR 0.6.1

14 Aug 15:22
ec9bffb
Compare
Choose a tag to compare
naijR 0.6.1 Pre-release
Pre-release
  • Added more function examples and other documentation improvements.
  • Increased compression for internal data.

naijR 0.6.0

10 Aug 10:42
Compare
Choose a tag to compare

naijR 0.6.0

New Features:

  • Added a new dataset states_nigeria for the States of Nigeria.
  • Migrated from RGDAL-based spatial data; the {sf} package is now the main dependency.
  • map_ng gained a newly documented argument plot, which hitherto was passed internally to maps::map() via ....
  • Added a new function disambiguate_lga, which takes a single-element lgas object for handling the names of Local Government Areas that are shared between separate States. This function enables the (re)setting of the State attribute of such objects; this can be done interactively, where the replicated States' names are presented for selection by users.

Fixes:

  • Improved on the accuracy of LGA naming in the light of spelling mistakes discovered in the earlier reference document.
  • Unwanted display of dialogs when fixing LGA names on Windows OS was reversed (suggested by Laura DeCicco).

naijR 0.5.2

27 Jun 16:28
6e07519
Compare
Choose a tag to compare

Silenced a warning on EOL spatial package dependencies ahead of necessary changes.

v0.5.1

05 Dec 10:43
75e75ae
Compare
Choose a tag to compare

Changes

  • In nested calls with the function fix_region, the lgas constructor function does not warn if there are spelling mistakes, as this turned out to be a bit confusing when it was used. In earlier versions, warnings persisted even after fixes were applied.
  • In carrying out interactive fixes, particularly of LGA spellings, the more familiar and intuitive native Windows messaging and dialog system is used. Works only on Windows machines; on Linux and macOS, the usual messaging and interaction occur at the R console.
  • Control the size of map labels with the cex argument (passed on to maps::map.text internally, via ...).
  • Handle instances where the term Abuja is used as a State (which technically it is not) and signal a warning to the user.

naijR 0.5.0

07 Nov 17:28
6bf5592
Compare
Choose a tag to compare

New features:

  • New methods for ?InternalGenerics were introduced e.g. for c(), [, [[, na.exclude, etc.

Enhancements:

  • Effectively handle mobile numbers that have common separators in them, namely whitespace, '-' or '.'.
  • Repair mobile numbers where poor data entry interchanges zeros (0s) with the letter O (works for both upper and lower case).
  • Repair of mobile numbers now offers optional information for users.
  • Allow the use of factor input when creating objects of class regions.
  • Added a new argument legend.text for map_ng using an idiom that is similar to the one used in base::barplot, thanks to observations made by @VictoriaLatham in issue #27.
  • Simplified the creation of choropleth maps with 2-column data frames; one of the columns is to be a vector of valid States or Local Government Areas, and the other a factor or something coercible to one.

Bug fixes:

  • map_ng accepted arguments that were not data.frames leading to unwieldy errors. It is now made sure to fail early in such cases

Deprecated:

  • Arguments of map_ng - leg.x, leg.y, and leg.orient were marked for deprecation in the next minor release.

naijR 0.4.4

30 Aug 10:41
2f4bbcc
Compare
Choose a tag to compare

Bug fix:

  • fix_mobile fails unexpectedly when only NA is supplied as argument. This causes practical problems when, for example, it encounters a column with only missing values.

naijR 0.4.3

11 Aug 17:32
6ded93a
Compare
Choose a tag to compare
Merge pull request #36 from BroVic/dev

Merge update

naijR 0.4.2

22 Jul 12:55
4d7227d
Compare
Choose a tag to compare
naijR 0.4.2 Pre-release
Pre-release
Merge pull request #34 from BroVic/dev

Update to 0.4.2

v0.4.0

28 Jan 16:25
Compare
Choose a tag to compare
  • Introduced the ability to 'manually' fix names of States or LGAs.

naijR 0.3.3

05 Nov 17:13
Compare
Choose a tag to compare
  • Fixed repetitions in the output when multiple LGAs' spellings are corrected.