---
title: "bhavtoday: Today's Equity Bhavcopy"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{bhavtoday}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
```




## Introduction 

*Download today's equity bhavcopy from NSE(National Stock Exchange) and BSE(Bombay Stock Exchange).

*Just use ```bhavtoday()```. Note that today's bhavcopy is made available in the evening. 

* The function tries to download bhavcopy from https://www.nseindia.com/all-reports websites of NSE. 

``` r
# Example

library(nser)
#Todays NSE Equity Bhavcopy
report = bhavtoday()

#Todays BSE Equity Bhavcopy
report = bhavtoday('BSE')

```
