R/getRecordIDs.R

Defines functions getRecordIDs

Documented in getRecordIDs

#' get list of records for a dataset
#'
#' A list of the available records for the specified format
#'
#' @param datasetverID the dataset ID
#'
#' @return List of the supported records for the specified records
#'
#' @examples
#' \dontrun{
#' getRecordIDs(145)
#' }
#' @export
getRecordIDs <- function(datasetverID) {
  url <- datsu_api(
    paste0("getRecordIDs/", datasetverID)
  )
  out <- datsu_get(url)

  out
}

Try the icesDatsu package in your browser

Any scripts or data that you put into this service are public.

icesDatsu documentation built on Oct. 25, 2024, 1:06 a.m.