#' List HDX Datasets
#'
#' This function will return the names of the first 5000 datasets from
#' humanitarian data exchange, as a dataframe.
#'
#' @param limit Number of packages to search for. Defaults to 5000
#' @importFrom magrittr "%>%"
#' @export
#' @examples
#' hdx_dataset_list()
hdx_dataset_list <- function(limit = 5000){
ckanr::package_list(as = 'table', limit = limit) %>%
dplyr::as_data_frame(.)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.