nse_stock_code: Stock code

Description Usage Arguments Value Examples

View source: R/nse-stock.R

Description

Fetch stock symbol and name from NSE.

Usage

1
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

1
2
3
4
nse_stock_code()

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

nse2r documentation built on May 20, 2021, 5:08 p.m.