verify_value_headstart: Generates code to verify a 'base::data.frame()'.

View source: R/verify-values-headstart.R

verify_value_headstartR Documentation

Generates code to verify a base::data.frame().

Description

Inspects properties of a base::data.frame() and prints code to the console that a developer can use to start to check the properties of a dataset, such as the names and types of each column.

Usage

verify_value_headstart(d)

Arguments

d

The data.frame to verify. Required.

Author(s)

Will Beasley

See Also

checkmate

Examples

library(magrittr)
verify_value_headstart(datasets::OrchardSprays)
verify_value_headstart(datasets::iris)
verify_value_headstart(datasets::BOD)
verify_value_headstart(dplyr::band_members)
storms_2 <- dplyr::storms %>%
  dplyr::mutate(
    storm_date = as.Date(ISOdate(year, month, day))
  )
verify_value_headstart(storms_2)

OuhscBbmc/OuhscMunge documentation built on Dec. 5, 2024, 4:34 a.m.