## ---- eval=FALSE-------------------------------------------------------------- # install.packages("repello") ## ---- warning=FALSE----------------------------------------------------------- suppressPackageStartupMessages(require(repello)) #Note: you may want to also install the following packages for well-formatted report tables suppressPackageStartupMessages(require(knitr)) suppressPackageStartupMessages(require(kableExtra)) ## ---- eval=FALSE-------------------------------------------------------------- # set_key_token(key_file="user_key.txt", token_file="user_token.txt") # #Alternatively, you may leave the arguments blank and manually enter the key and token when prompted # set_key_token() ## ---- eval=FALSE-------------------------------------------------------------- # activity <- cards_info(get_board_id("Repello - R Reports from Trello")) # head(activity) %>% kable(escape=F, align="cl") %>% trimws %>% kable_styling(c("striped","bordered")) ## ---- echo=FALSE-------------------------------------------------------------- activity <- readRDS("activity.rds") head(activity) %>% kable(escape=F, align="cl") %>% trimws %>% kable_styling(c("striped","bordered")) ## ---- eval=FALSE-------------------------------------------------------------- # trello_object <- all_checklists("Repello - R Reports from Trello", save=FALSE) # #save can be set to 'TRUE' if you want to save the current Trello object for # #later comparison # trello_object[[4]] ## ---- echo=FALSE-------------------------------------------------------------- trello_object <- readRDS("trello_object.rds") trello_object[[4]] ## ----------------------------------------------------------------------------- trello_object[[2]] ## ---- eval=FALSE-------------------------------------------------------------- # report <- trello_updates("Repello - R Reports from Trello", prior="old_object.rds", save=FALSE) # #Note: If 'prior' is not specified, the function will automatically find the most recent saved # #Trello object to compare to the current rendition. The function can also accept a 'recent' # #argument if you want to compare two lists from different time points. # # report[[4]] ## ---- echo=FALSE-------------------------------------------------------------- report <- readRDS("report.rds") report[[4]] ## ----------------------------------------------------------------------------- report[[5]] ## ----------------------------------------------------------------------------- report[[2]] ## ---- eval=FALSE-------------------------------------------------------------- # set_token("user_token.txt") # report <- trello_updates("Repello - R Reports from Trello", prior="old_object.rds", save=FALSE) # ## ---- results='asis'---------------------------------------------------------- new_sticker <- "