Reads the file with read_vc().
Then verifies that every variable listed in variables is present in the
data.frame.
Arguments
- file
the name of the git2rdata object. Git2rdata objects cannot have dots in their name. The name may include a relative path.
fileis a path relative to theroot. Note thatfilemust point to a location withinroot.- 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()