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
#' 
#' @keywords internal
#'
#' @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)
}
ScottishCovidResponse/hdf5processing documentation built on July 19, 2023, 10:46 a.m.