Nothing
update_metadata()
to update the description of a git2rdata
object.
See vignette("metadata")
for more details.write_vc()
stores non optimised files as comma separated values rather than
tab separated values.
The general public seems to better recognised .csv
files than .tsv
files
as being data files.verify_vc()
which reads a git2rdata
object and verifies
the presence of a set of variables.
It return the data upon success.inst/CITATION
, CITATION.cff
, .zenodo.json
icuSetCollate()
to define a standardised sorting.write_vc()
gains an optional split_by
argument.
See vignette("split_by")
for more details.rename_variable()
efficiently renames variables in a stored git2rdata
object.read_vc()
, is_git2rdata()
and is_git2rmeta()
now yield a better message
when both the data and metadata are missing.stringsAsFactors
of data.frame()
in the examples and
unit tests if the dataframe contains characters.
The upcoming change in default value of stringsAsFactors
requires this
change.
See https://developer.r-project.org/Blog/public/2020/02/16/stringsasfactors/index.htmlupgrade_data()
to read data stored by an older version.is_git2rdata()
and upgrade_data()
no longer not test equality in data
hashes (but read_vc()
still does).write_vc()
and read_vc()
fail when file
is a location outside of root
(#50).strict = TRUE
.read_vc()
reads older stored in an older version (#44).
When the version is too old, it prompts to upgrade_data()
.warnings()
and error()
messages.upgrade_data()
uses the same order of the metadata as write_vc()
.write_vc()
stores the git2rdata
version number to the metadata.
Use upgrade_data()
to update existing data.read_vc()
checks the meta data hash. A mismatch results in an error.is_git2rmeta()
validates metadata.list_data()
lists files with valid metadata. rm_data()
and prune_meta()
remove files with valid metadata.
They don't touch tsv
file without metadata or yml
files not associated
with git2rdata
.list_data()
, rm_data()
and prune_meta()
.write_vc()
and relabel()
handle empty strings (''
) in characters and
factors (#24).read_vc()
no longer treats #
as a comment character.read_vc()
handles non ASCII characters on Windows.root
containing regex expressions.vignette("workflow", package = "git2rdata")
.vignette("efficiency", package = "git2rdata")
vignette("plain_text", package = "git2rdata")
meta()
appends the metadata as a list to the objects rather than in YAML
format.yaml::write_yaml()
writes the metadata list in YAML format.write_vc()
now uses the 'strict' argument instead of 'override'.rm_data()
removes the data files. Use prune_meta()
to remove left-over
metadata files (#9).relabel()
to alter factor levels without changing their index (#13).write.table()
stores the raw data instead of readr::write_tsv()
(#7).
This avoids the readr
dependency.write_vc()
and read_vc()
use the current working directory as default root
(#6, @florisvdh).NA
).
This allows the storage of the character string "NA"
.write_vc()
returns a list of issues which potentially result in large diffs.list_data()
returns a vector with dataframes in the repository.write_vc()
allows to use a custom NA
string.auto_commit()
because of limited extra functionality over
git2r::commit()
.readr
to write and read plain text files.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.