knitr::opts_chunk$set(echo = TRUE, eval = FALSE)

naijR: An R package on Nigeria and for Nigeria

naijR is an R package that contains a suite of functions that make it easier to deal with data and datasets about the country Nigeria and its constituent parts.

Inspiration for the project is drawn from experience within real data science projects where peculiar problems are often encountered, such as:

naijR brings an approach to data analysis that is tailored towards enhance the productivity of anyone working with any data that has to do with Nigeria.

Things that naijR can do

There are a number of things that one can to with this package. These include:

Additional functionality is being added and will be available in future releases.

Getting Started

The easiest way to start using this package is within an active R session by running

install.packages('naijR')


This will install the stable version from CRAN. To work with the development version of the package, it can be installed from GitHub with

# install.packages('remotes')
remotes::install_github("BroVic/naijR")


For an introduction to the package's ability to draw Nigeria country maps, read this article



BroVic/naijR documentation built on Jan. 31, 2024, 12:02 a.m.