R/status.R

Defines functions status

Documented in status

#' Query the GDC for current status
#'
#' @param version (optional) character(1) version of GDC
#'
#' @return List describing current status.
#' 
#' @importFrom httr content
#'
#' @examples
#' status()
#' 
#' @export
status <- function(version=NULL) {
    response <- .gdc_get(paste(version, "status", sep="/"),archive='default')
    content(response, type="application/json")
}
Bioconductor/GenomicDataCommons documentation built on Oct. 31, 2024, 7 a.m.