Learn R Programming

nse2r (version 0.1.6)

nse_stock_code: Stock code

Description

Fetch stock symbol and name from NSE.

Usage

nse_stock_code(clean_names = TRUE)

Value

A tibble with the following columns:

symbol

NSE ticker.

company

Name of the firm.

Arguments

clean_names

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

Examples

Run this code
if (FALSE) {
nse_stock_code()

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

Run the code above in your browser using DataLab