Skip to content

An R package that provides access to Moroccan financial data.

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

moutikabdessabour/bcr

Repository files navigation

Bourse Casablanca in R

CRAN status Lifecycle: maturing CRAN RStudio mirror downloads

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.