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      45,519.79       64,334.75           -18,814.96
#> 3      10-Jun-2022       4,287.93        8,261.88            -3,973.95
#> 4      09-Jun-2022       6,196.55        7,709.19            -1,512.64
#> 5      08-Jun-2022       5,468.82        7,953.07            -2,484.25
#> 6      07-Jun-2022       5,637.32        7,931.30            -2,293.98
#> 7      06-Jun-2022       4,546.52        6,944.17            -2,397.65
#> 8      03-Jun-2022       5,804.83        9,575.34            -3,770.51
#> 9      02-Jun-2022       7,131.80        7,583.62              -451.82
#> 10     01-Jun-2022       6,446.02        8,376.18            -1,930.16
#>     DII Rs Crores DII Rs Crores.1      DII Rs Crores.2
#> 1  Gross Purchase     Gross Sales Net Purchase / Sales
#> 2       44,591.97       31,505.28            13,086.69
#> 3        6,105.56        3,274.49             2,831.07
#> 4        5,297.49        3,672.59             1,624.90
#> 5        5,508.57        3,604.24             1,904.33
#> 6        5,062.40        3,751.26             1,311.14
#> 7        5,593.21        3,653.21             1,940.00
#> 8        6,890.49        4,529.98             2,360.51
#> 9        4,677.17        4,546.54               130.63
#> 10       5,457.08        4,472.97               984.11