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.
file
is a path relative to theroot
. Note thatfile
must 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:
display_metadata()
,
list_data()
,
prune_meta()
,
read_vc()
,
relabel()
,
rename_variable()
,
rm_data()
,
update_metadata()
,
write_vc()