fdii: Get latest FII/DII data

Introduction

Get the latest FII(Foreign Institutional Investor) and DII(Domestic Institutional Investor) data from Moneycontrol.

library(nser)
#> Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'
fdii()
#>              DATE  FII Rs Crores FII Rs Crores.1      FII Rs Crores.2
#> 1                 Gross Purchase     Gross Sales Net Purchase / Sales
#> 2 Month till date      10,061.02        7,884.52             2,176.50
#> 3     04-Jan-2022       5,834.72        4,560.86             1,273.86
#> 4     03-Jan-2022       4,226.30        3,323.66               902.64
#>    DII Rs Crores DII Rs Crores.1      DII Rs Crores.2
#> 1 Gross Purchase     Gross Sales Net Purchase / Sales
#> 2      10,065.96        8,729.88             1,336.08
#> 3       5,250.38        4,717.41               532.97
#> 4       4,815.58        4,012.47               803.11