Hi! I am trying to make a pivot table, but it is not popping up. I ran the code a few minutes ago and can't see anything? How do I know if it is still rendering?
This is my code:
#create pivot table with the total number of stocks
install.packages("pivottabler")
library("pivottabler")
pt <- PivotTable$new()
pt$addData(monthly)
pt$addColumnDataGroups("SHRCD")
pt$addColumnDataGroups("Turnover")
pt$addRowDataGroups("date")
pt$defineCalculation(calculationName="TotalNumberOfStocks", summariseExpression="n()")
pt$renderPivot()
It was working before! Then, I added the 2nd column "turnover" and now nothing is popping up. This is a massive databse so I thought that it was just taking a while.... how will I know if I am incorrect?
Thanks!