Learn R Programming

BRVM (version 5.3.0)

BRVM_bySector: BRVM By Sector

Description

This function will take in the name of sector(s) and returns data for companies belonging to that/those sector(s)

Usage

BRVM_bySector(.sectors = NULL)

Value

A tibble

Arguments

.sectors

A vector of sectors you wish to have returned.

Author

Koffi Frederic SESSIE

Oudouss Diakité Abdoul

Steven P. Sanderson II, MPH

Details

This function will take in a vector of sectors provided by the end user and return a tibble.

See Also

Other Data Retrieval: BRVM_cap(), BRVM_company_rank(), BRVM_get1(), BRVM_get(), BRVM_index_stock(), BRVM_index(), BRVM_market_activity(), BRVM_plot(), BRVM_stock_market(), BRVM_ticker_desc(), company_cap(), company_country(), company_nbrank(), company_sector(), company_traded_val()

Examples

Run this code
# \donttest{
library(stringr)
library(rlang)
library(xml2)
library(rvest)
library(dplyr)

sectors <- c("Industry","Administration","PUblic service", "AUtr", "FINANCE",
            "distribution", 25)
BRVM_bySector(.sectors = sectors)
BRVM_bySector(.sectors = "All")
BRVM_bySector(.sectors = c("Other", "Agriculture"))
# }

Run the code above in your browser using DataLab