我正在尝试使用SmartsheetClient从我的智能表中检索数据。但是,当我尝试访问一行注释时,这些注释为空。以下是我的代码:
X1 <- data4["X1"]
X1Unique <- unique(X1)
set.seed(3456)
X1Divide <- createDataPartition(X1Unique$X1, p = .9,
list = FALSE,
times = 1)
#works fine for the uniquevector
X1Train <- X1Unique[X1Divide,]
X1Val <- CVRUn[-X1Divide,]
#doesn't work for the data set, get the same amount of observations
as in X1Train, where I should have got 3-4 times more.
TestTrain <- data4[,X1Divide]
Validering <- data4[-X1Divide,]
参考图片:
谢谢
答案 0 :(得分:2)
我可能是错的,但是我相信您必须为此列出讨论内容:
PaginatedResult<Discussion> discussions = smartsheet.SheetResources.RowResources.DiscussionResources.ListDiscussions(sheetId, sheet1.Rows[0].Id.Value, new DiscussionInclusion[] { DiscussionInclusion.COMMENTS }, null);