Nothing
#' @title Search within an SB folder
#'
#' @description
#' Search for text in the title, abstract, etc. within an SB folder and any
#' subfolders.
#'
#' @param text text in the title, abstract, etc. of the desired item
#' @param folder an SB item ID for the folder to search in
#' @param ... Additional parameters are passed on to \code{\link[httr]{GET}}
#' @param session (optional) SB Session to use, not provided queries public
#' items only
#' @param limit Max number of matching items to return
#'
#' @return A list of matching items as sbitem objects.
#'
#' @export
query_item_in_folder <- function(text, folder, ..., session=current_session(), limit=20) {
# create and run the query
res = query_sb(list(q=text, folderId=folder), ..., session=session, limit=limit)
return(res)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.