backend

Introduction

The backend container calls important analytics functions. We have 3 sets of functions: Required functions need to run to generate specific variables (e.g. colors) or aggregate speech to text chunks. Optional functions also run automatically, but might be commented out in the backend source code. Switch functions can be set on or off in the settings.txt file. Please note the dependencies between some of the functions.

In detail:

The backend module also merges the two files .env and settings.txt to a new file .Renviron. This file needs to be mounted to the analytics and visualization services. In case this file is missing, the modules can’t access the (hidden) settings; i.e. no environmental variables are defined. Forwarding the (hidden) settings is, however, very important as these settings define the required variables to access the database.

Technical Framework

Most functions are based on R; some functions do need Python.

Main Contributor

Felix Süttmann, Valentin Gold