R/get_storage_location.R

Defines functions get_storage_location

Documented in get_storage_location

#' Get storage location from url
#'
#' Get storage location entry
#' 
#' @keywords internal
#'
#' @param location the url of an entry in the storage_location table
#'
#' @return Returns a \code{list} of fields associated with the specified entry
#'
get_storage_location <- function(location) {
  tmp <- get_entity(location)
  path <- tmp$path
  root <- get_entity(tmp$storage_root)$root
  paste0(root, path)
}

Try the rDataPipeline package in your browser

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

rDataPipeline documentation built on Oct. 8, 2024, 5:06 p.m.