The goal of AfricanStockMarkets is to make a dataset on values of securities and indices of African stock markets for R community.
You can install the released version of AfricanStockMarkets from CRAN with:
install.packages("AfricanStockMarkets")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("Traore225/AfricanStockMarkets")
This is a basic example which shows you how to use it:
library(AfricanStockMarkets)
knitr::kable(head(bonds_AZF), 'html', caption = "South Africa stock market bonds")
South Africa stock market bonds
nompays
nombourse
devise
code\_obligation
num\_jourO
ValeurOb
VariationOb
VolumeOb
AFRIQUE DU SUD
JSE
RANDS
AMIB50-AMI Big50 ex-SA ETF
1
718
0.00
0
AFRIQUE DU SUD
JSE
RANDS
AMIRE-AMI RealEstate ex-SA ETF
1
2045
0.00
0
AFRIQUE DU SUD
JSE
RANDS
ASHEQF-Ashburton Global 1200 FOF ETF
1
6128
-0.68
71400
AFRIQUE DU SUD
JSE
RANDS
ASHGEQ-Ashburton Gbl 1200Eq ETF
1
6128
-0.01
22680
AFRIQUE DU SUD
JSE
RANDS
ASHINF-Ashburton Inflation ETF
1
2123
0.00
0
AFRIQUE DU SUD
JSE
RANDS
ASHMID-Ashburton Mid Cap ETF
1
719
-0.96
26110
summary(bonds_AZF)
#> nompays nombourse devise code_obligation
#> Length:336 Length:336 Length:336 Length:336
#> Class :character Class :character Class :character Class :character
#> Mode :character Mode :character Mode :character Mode :character
#>
#>
#>
#> num_jourO ValeurOb VariationOb VolumeOb
#> Min. :1.00 Min. : 269 Min. :-3.65000 Min. : 0
#> 1st Qu.:1.75 1st Qu.: 1254 1st Qu.:-0.37000 1st Qu.: 2
#> Median :2.50 Median : 4116 Median : 0.00000 Median : 2440
#> Mean :2.50 Mean : 44774 Mean :-0.06494 Mean : 84555
#> 3rd Qu.:3.25 3rd Qu.: 6258 3rd Qu.: 0.24000 3rd Qu.: 21560
#> Max. :4.00 Max. :2624550 Max. : 4.58000 Max. :16180000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.