#' Get an activity stream of recently changed datasets on a site.
#'
#' @export
#' @template paging
#' @template args
#' @template key
#' @examples \dontrun{
#' changes()
#' changes(as = 'json')
#' changes(as = 'table')
#' }
changes <- function(offset = 0, limit = 31,url = get_default_url(),
key = get_default_key(), as ='list', ...) {
args <- cc(list(offset = offset, limit = limit))
res <- ckan_GET(url, 'recently_changed_packages_activity_list', args,
key = key, opts = list(...))
switch(as, json = res, list = jsl(res), table = jsd(res))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.