apply_schema: Apply a schema to data

View source: R/utils-server.R

apply_schemaR Documentation

Apply a schema to data

Description

Apply a schema to data

Usage

apply_schema(data, schema, keys_ignore = NULL)

Arguments

data

A tibble::tibble contianing values.

schema

A named list of character vectors. Each vector is matched to a column in 'data' and transforms it into a factor.

keys_ignore

A character vector or NULL, these columns are not transformed.

Value

A tibble::tibble.


maxjnorman/shiny.table.store documentation built on March 20, 2024, 3:15 p.m.