View source: R/assess_data_code.R
| assess_data_code | R Documentation |
Bridges rtransparent and rfair: takes the data/code identifiers
rtransparent extracts from articles (its open_data_links and
open_code_links columns) and scores each against the FAIR metrics. Data
identifiers are scored with the FsF data metrics and code repositories with
the FRSM software metrics.
assess_data_code(
x,
id_col = NULL,
data_metric_version = "0.8",
code_metric_version = "0.7_software",
data_col = "open_data_links",
code_col = "open_code_links",
sep = " ; ",
quiet = FALSE,
...
)
x |
One of: a data frame from |
id_col |
Optional name of a column in |
data_metric_version |
Metric version for data identifiers (default
|
code_metric_version |
Metric version for code repositories (default
|
data_col, code_col |
Column/element names holding the joined links
(defaults match rtransparent: |
sep |
Separator rtransparent uses to join identifiers (default |
quiet |
If |
... |
Passed to |
A data frame with one row per (article, kind, identifier): source
(article id), kind ("data" or "code"), and the columns of
assess_fair_batch(). Each unique identifier is assessed once.
assess_fair_batch(), split_identifiers(), assess_fair()
assess_data_code(list(open_data_links = "https://doi.org/10.5281/zenodo.8347772",
open_code_links = "https://github.com/pangaea-data-publisher/fuji"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.