I have a very basic question why does
inputfile[!(GSTINUIN %>% is.na()),.(InvoiceDate=unique(InvoiceDate),
Amount=sum(Amount),
PlaceOfSupply=unique(PlaceOfSupply),
ReverseCharge=unique(ReverseCharge),
InvoiceType=unique(InvoiceType),
ECommerceGSTIN=unique(ECommerceGSTIN)
),by=.(GSTINUIN,InvoiceNumber,CGSTRate=CGSTRate*2)
][
,.(InvoiceDate,
Amount=sum(Amount),
PlaceOfSupply,
ReverseCharge,
InvoiceType,
ECommerceGSTIN,
CGSTRate
)
,.(GSTINUIN,InvoiceNumber)
]
works on R console but the same code
inputfile()[!(GSTINUIN %>% is.na()),.(InvoiceDate=unique(InvoiceDate),
Amount=sum(Amount),
PlaceOfSupply=unique(PlaceOfSupply),
ReverseCharge=unique(ReverseCharge),
InvoiceType=unique(InvoiceType),
ECommerceGSTIN=unique(ECommerceGSTIN)
),
by=.(GSTINUIN,InvoiceNumber,CGSTRate)
][
,.(InvoiceDate,
Amount=sum(Amount),
PlaceOfSupply,
ReverseCharge,
InvoiceType,
ECommerceGSTIN,
CGSTRate
)
,.(GSTINUIN,InvoiceNumber)
]
Doesn't work in reactive context. I have been facing this issue since morning and I am not sure what am I doing wrong here. Is there anything that I am missing.
I have uploaded the file in google mailing list. Here I don't see any option to upload the zip file. Kindly look into it.
I just want to understand what am I doing wrong conceptually.