Watch
1
0
Fork
You've already forked openfoodtox
0
mirror of https://github.com/agroscope-ch/openfoodtox.git synced 2026-08-17 12:42:18 +00:00
  • R 74.3%
  • TeX 20.6%
  • Makefile 5.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-02-18 14:37:34 +01:00
.github Initial state for github 2024-01-22 15:53:47 +01:00
data Initial state for github 2024-01-22 15:53:47 +01:00
inst/dataset_generation Initial state for github 2024-01-22 15:53:47 +01:00
log Correct classification of Louisiana crayfish 2026-02-10 12:16:03 +01:00
man Correct classification of Louisiana crayfish 2026-02-10 12:16:03 +01:00
R Correct classification of Louisiana crayfish 2026-02-10 12:16:03 +01:00
vignettes Online documentation update 2024-07-22 11:40:47 +02:00
.gitignore Do no keep docs/ in git, add NEWS.md 2024-01-22 17:50:18 +01:00
.Rbuildignore Correct classification of Louisiana crayfish 2026-02-10 12:16:03 +01:00
.Rprofile Initial state for github 2024-01-22 15:53:47 +01:00
_pkgdown.yml Online documentation update 2024-07-22 11:40:47 +02:00
DESCRIPTION Correct classification of Louisiana crayfish 2026-02-10 12:16:03 +01:00
GNUmakefile Online documentation update 2024-07-22 11:40:47 +02:00
NAMESPACE Fix R CMD check, update docs 2024-06-19 07:01:50 +02:00
NEWS.md Update link, avoid decreasing version 2024-07-22 11:58:54 +02:00
openfoodtox.Rproj Initial state for github 2024-01-22 15:53:47 +01:00
publiccode.yml Merge remote-tracking branch 'refs/remotes/origin/main' 2026-02-18 14:37:34 +01:00
README.md Update link, avoid decreasing version 2024-07-22 11:58:54 +02:00

OpenFoodTox - R package making OpenFoodTox data accessible in R

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. openfoodtox status badge

This R package provides convenient access to data extracted from some of the spreadsheet files made available as OpenFoodTox, the chemical hazards database of the European Food Safety Authority (EFSA). The original files have been published under the Creative Commons Attribution 4.0 International licence and can be accessed via the EFSA website or directly at Zenodo.

The core component of the package is the data object oft, which contains the data from four OpenFoodTox spreadsheets which are currently relevant for our group at Agroscope. These are the spreadsheets on substance characterisation, EFSA outputs, reference points and reference values.

When using this R package, the data are available in the form of a dm object. Basically, a dm object is a list of tables with defined relations.

Documentation

The online documentation is available on github.

A graphical representation of these tables and their relations and some usage examples are shown in the documentation of the oft object. In addition, there is a package vignette on the oft object, describing the contents of the individual tables.

For further information on relational data models as implemented in the dm package, please refer to its online documentation.

Installation

install.packages("OpenFoodTox", repos = c("https://agroscope-ch.r-universe.dev", "https://cran.r-project.org"))

You can then load the package in R using

library(OpenFoodTox)

to have the data object oft available.