Forum Discussion
seann
8 years agoFrequent Visitor
404 error when loading data to model
I'm querying an API using http and am able to load and model the data in the query editor with no issues. When I click save and close, it begins to load to the model but then I receive a webcontents e...
- 8 years ago
Yes, that's why I proposed it as a workaround ;)
ImkeF
8 years agoCommunity Champion
Yes, that's why I proposed it as a workaround ;)
seann
7 years agoFrequent Visitor
Dropping the R code here for anyone who's facing the same dramas and has limited R skills like myself - credit to ImkeF and http://www.instantr.com/2012/12/11/exporting-a-dataset-from-r/
#"PREVIOUS STEP" = Whatever the last step was in M
#"Run R script" = R.Execute("write.csv(dataset, ""C:/Folder/File.csv"", row.names=F)",[dataset=#"PREVIOUS STEP"])
in
#"Run R script"