verify_vc: Read a file an verify the presence of variables

View source: R/verify_vc.R

verify_vcR Documentation

Read a file an verify the presence of variables

Description

Reads the file with read_vc(). Then verifies that every variable listed in variables is present in the data.frame.

Usage

verify_vc(file, root, variables)

Arguments

file

the name of the git2rdata object. Git2rdata objects cannot have dots in their name. The name may include a relative path. file is a path relative to the root. Note that file must point to a location within root.

root

The root of a project. Can be a file path or a git-repository. Defaults to the current working directory (".").

variables

a character vector with variable names.

See Also

Other storage: data_package(), display_metadata(), list_data(), prune_meta(), read_vc(), relabel(), rename_variable(), rm_data(), update_metadata(), write_vc()


ropensci/git2rdata documentation built on Jan. 26, 2025, 5:41 p.m.