R/new_quality_controlled.R

Defines functions new_quality_controlled

Documented in new_quality_controlled

#' Post entry to quality_controlled table
#'
#' Upload information to the \code{quality_controlled} table in the data
#' registry
#'
#' @param object_url a \code{string} specifying the URL of an \code{object}
#' @param endpoint a \code{string} specifying the registry endpoint
#'
#' @family new functions
#'
new_quality_controlled <- function(object_url,
                                   endpoint = "http://localhost:8000/api/") {

  post_data(table = "quality_controlled",
            data = list(object = object_url),
            endpoint = endpoint)
}

Try the rDataPipeline package in your browser

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

rDataPipeline documentation built on Nov. 18, 2021, 1:14 a.m.