FSK2R0.2.0 package

An Interface Between the 'FSKX' Standard and 'R'

check_manifest_files

Checks that the files defined in the manifest exist

clean_empty_values

Recursively clean object by removing empty values

clean_json_string

Clean empty values from JSON string

convert_metadata_to_lists

Fix the metadat so that it is lists

create_fsk

Creates an FSK model from an existing R script

dataframe_to_list

Converts a dataframe to a list

export_fsk

Exports an object of FSK class as an .fskx file

export_manifest

Functions for exporting the manifest of an FSK2R object

export_metadata

Function for exporting the metadata of an FSK2R object

export_modelmetadata

Functions for exporting the model metadata of an FSK2R object

export_otherfiles

Export other files

export_packages

Functions for exporting the packages of an FSK2R object

export_R_model

Functions for exporting the R model of an FSK2R object

export_readme

Functions for exporting the README of an FSK2R object

export_sbmlModel

Export the model.sbml

export_simulation

Export the sim.sedml

export_visualization

Functions for exporting the visualization script of an FSK2R object

export_workspace

Functions for exporting the workspace of an FSK2R object

extract_script_filenames_from_rdf

Extract script filenames from RDF metadata

find_packages

Finds where packages are stored

FSK_runner

Startup FSK runner

FSKAuthor

Author Information

FSKDataBackground

Data Background Section

FSKGeneralInformation

General Information Section

FSKMetadata

FSK Metadata Classes

FSKModelCategory

Model Category Information

FSKModelMath

Model Math Section

FSKParameter

Parameter Information

FSKReference

Reference Information

FSKScope

Scope Section

get_background

Returns the background of an FSK object

get_general_info

Returns the general info of an FSK object

get_modelmath

Returns the model math of an FSK object

get_readme

Readme of an FSK object

get_scope

Returns the scope of an FSK object

get_session_info

Extract session information

get_simulations

Returns a summary of the simulations of an FSK object

import_fsk_join

Import of FSK with join node

import_fsk

Import an FSK model into R

is_fsk_with_r

Does the object have an R model?

is.FSK2R

Is it an instance of FSK2R?

map_FSK_metadata

Map for the contents of the metadata

map_metadata_xml_template

Map between the names used in the template and the xml

metadata_list_to_fsk

From read_fsk_metadata_XX to FSK2R format

n_simuls_fsk

Number of simulations in the FSK2R object

read_fsk_json_metadata

Read the metadata.json file

read_fsk_manifest

Read the manifest of an FSK file and convert it to a data.frame

read_fsk_metadata_excel

FSK metadata from local Excel file

read_fsk_model

Read the model.sbml

read_fsk_packages

Read the packages.json

read_fsk_rdf_metadata

Read the metadata.rdf

read_fsk_readme

Read the README file

read_fsk_sim

Read the sim.sedml file

read_other_files

Read "other files"

read_R_model

Reads the R model in an FSK model

read_visualization

Reads the visualization script in an FSK model

run_all_simulations

Run every simulation in an FSK object

run_simulation

Run one simulation in an FSK object

set_new_simulation

Define a new simulation in an FSK2R object

set_readme

Readme of an FSK object

update_manifest

Updates the manifest file

Functions for importing, creating, editing and exporting 'FSK' files <https://foodrisklabs.bfr.bund.de/fskx-food-safety-knowledge-exchange-format/> using the 'R' programming environment. Furthermore, it enables users to run simulations contained in the 'FSK' files and visualize the results.

  • Maintainer: Alberto Garre
  • License: GPL-3
  • Last published: 2025-10-10