Skip to content

Instantly share code, notes, and snippets.

@pmeyerdk
Last active January 4, 2018 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pmeyerdk/9013689cdcb6fd9fe091ef7e440fe1d7 to your computer and use it in GitHub Desktop.
Save pmeyerdk/9013689cdcb6fd9fe091ef7e440fe1d7 to your computer and use it in GitHub Desktop.
library("RSiteCatalyst")
library("dplyr")
SCAuth("peter.meyer@xxx.com:xxx", "xxx")
reportSuites <- GetReportSuites()
evar <- GetEvars(reportSuites$rsid) #%>%
# reportSuite <- reportSuites$rsid
props <- GetProps(reportSuites$rsid)
for (suite in reportSuites$rsid) {
print(paste(suite)) # Prints one name at a time ;-)
suite <- GetEvars(suite) # OVerwrites the same dataframe "suite" once per report suite
# It would be nice to have above dataframe named differently per looped report suite.
# This to get one dataframe with evars per report suite, for export to Excel later on
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment