Usage
sysrev.read.bibtex(filename, encoding="unknown")
sysrev.export(libraryObject, filename, drop=NULL, keep=NULL,
sep="", row.names = FALSE, ...)
- filename
{
The path and filename to read from or write to
}
- encoding
{
When reading bibtex files, you might want to specify the encoding (passed on to 'readLines').
}
- libraryObject
{
An object, created with sysrev.read.bibtex, with references.
}
- drop
{
Character vector with names of fields to drop when exporting (rest is kept). Cannot be used at the same time as 'keep'.
}
- keep
{
Character vector with names of fields to keep when exporting (rest is dropped). Cannot be used at the same time as 'drop'.
}
- sep
{
Separator to use when writing exported file (defaults to tab).
}
- row.names
{
Whether to write rownames in the export (passed on to write.table).
}
- ...
{
Additional arguments passed on to write.table().
}
sysrev.read.bibtex and sysrev.export and for importing bibtex files, and after manipulation, exporting them to a 'spreadsheet format'. t.to.p, f.to.p, and chisq.to.p make it slilghtly easier to compute p-values from reported statistics.
sysrev.read.bibtex returns a BibTeX Library object (a collection of references).
sysrev.export returns nothing.
t.to.p, f.to.p and chisq.to.p return a p-value.
bibTexObject <- sysrev.read.bibtex("BibTex library.bib");
sysrev.export(bibTexObject, "references in table.csv");
utilities