Fetch stock symbol and name from NSE.

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

# \donttest{ nse_stock_code()
#> # A tibble: 1,634 x 2 #> symbol company #> <chr> <chr> #> 1 20MICRONS 20 Microns Limited #> 2 21STCENMGM 21st Century Management Services Limited #> 3 3IINFOTECH 3i Infotech Limited #> 4 3MINDIA 3M India Limited #> 5 3PLAND 3P Land Holdings Limited #> 6 5PAISA 5Paisa Capital Limited #> 7 63MOONS 63 moons technologies limited #> 8 A2ZINFRA A2Z Infra Engineering Limited #> 9 AARTIDRUGS Aarti Drugs Limited #> 10 AARTIIND Aarti Industries Limited #> # ... with 1,624 more rows
# retain original column names as returned by NSE nse_stock_code(clean_names = FALSE)
#> # A tibble: 1,634 x 2 #> SYMBOL NAME.OF.COMPANY #> <chr> <chr> #> 1 20MICRONS 20 Microns Limited #> 2 21STCENMGM 21st Century Management Services Limited #> 3 3IINFOTECH 3i Infotech Limited #> 4 3MINDIA 3M India Limited #> 5 3PLAND 3P Land Holdings Limited #> 6 5PAISA 5Paisa Capital Limited #> 7 63MOONS 63 moons technologies limited #> 8 A2ZINFRA A2Z Infra Engineering Limited #> 9 AARTIDRUGS Aarti Drugs Limited #> 10 AARTIIND Aarti Industries Limited #> # ... with 1,624 more rows
# }