R/get_table_writable.R

Defines functions get_table_writable

Documented in get_table_writable

#' Get writable fields
#'
#' @param table a \code{string} specifying the name of the table
#' @param endpoint a \code{string} specifying the registry endpoint
#'
#' @return Returns a character vector of writable fields
#' @keywords internal
#'
get_table_writable <- function(table, endpoint) {
  # if(!check_table_exists(table))
  #   stop("Unknown Table")

  get_fields(table, endpoint) %>%
    filter(!.data$read_only)
}
ScottishCovidResponse/hdf5processing documentation built on July 19, 2023, 10:46 a.m.