Nothing
#' @title Get data table metadata info
#'
#' @param data_name character name of dataset. See \code{\link{adk_data}} documentation for dataset names.
#'
#' @description Function to recall metadata about each dataset. Includes units and long-name of parameters.
#' Prints info to console as well as returning text.
#'
#' @import tools
#'
#' @examples
#' \dontrun{
#' #Get chemistry metadata
#' adk_metadata('chem')
#' }
#' @export
adk_metadata = function(data_name){
data_name = match.arg(data_name, names(filenames))
fname = system.file(paste0("extdata/metadata/", file_path_sans_ext(basename(filenames[data_name])), ".txt"), package = "adklakedata")
metadata = readChar(fname, file.info(fname)$size)
cat(metadata)
return(invisible(metadata))
}
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.