bcr is an R package that scraps the web (mainly Le Boursier) for Moroccan Financial Data. It aims to facilitate the access of this data on R.

Data provided by this package:

  • Listing of Moroccan Bonds.
  • Latest price variation of Moroccan stocks (Including MASI and MADEX indices).
  • Listing of Moroccan Market and Sectoral Indices.
  • Historical price data of Moroccan stocks.
  • Intraday variation of Moroccan stocks.

Installation

Either install directly from CRAN :

# From the R console call
install.packages("bcr")

Or to get the development version first install the remotes package then use the line below:

# install remotes first if it isn't already installed
# install.packages("remotes")
# install the development version
remotes::install_github("moutikabdessabour/bcr")

Documentation

All you need to know about how to use this package is provided here.