dot-get_functions: Get functions and write the triples

Description Usage Arguments

Description

This function gets all functions recorded by rdt and functions not explicitly defined by rdt (usually functions from default/base packages). This function also relates the functions to the packages they belong to (for default and not default packages). It then creates the triples with properties of the function, which script the function relates to (isSubPlanofPlan), and which package it belongs to (hasPackage).

Usage

1
2
3
4
5
6
7
8
.get_functions(
  prov = prov,
  nsp = nsp,
  activities = activities_df,
  rdf = rdf,
  df_func = df_func,
  script = script_file
)

Arguments

prov

Parsed provenance

nsp

List with the namespaces of used ontologies

activities

Dataframe containing the prov activities recorded by rdt

rdf

RDF object to write the triples

df_func

Dataframe with R default functions

script

Script dataframe built with the function process_file


mmondelli/rdt2repr documentation built on Feb. 15, 2021, 10:57 p.m.