Learn R Programming

nse2r (version 0.1.3)

nse_stock_code: Stock code

Description

Fetch stock symbol and name from NSE.

Usage

nse_stock_code(clean_names = TRUE)

Arguments

clean_names

Logical; if TRUE, makes the column names descriptive and uses snake_case.

Value

A tibble with the following columns:

symbol

NSE ticker.

company

Name of the firm.

Examples

Run this code
# NOT RUN {
nse_stock_code()

# retain original column names as returned by NSE
nse_stock_code(clean_names = FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab