---
title: "Derived Tags | Introduction | N3uron KB V.1.20"
slug: "derived-tags-introduction"
description: "Derived Tags is a N3uron module designed to implement custom logic, advanced calculations, and data aggregation for operational data analysis at N3uron…"
updated: 2021-11-26T11:44:55Z
published: 2021-11-26T11:44:55Z
canonical: "docs.n3uron.com/derived-tags-introduction"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.n3uron.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

**Derived Tags** enables custom logic, advanced calculations, and data aggregation for operational data analysis at the connectivity platform. For instance, **Derived Tags** allows for new tags to be obtained and calculated from other tags, a trigger to be set based on logical states, values to be aggregated over a defined period of time and in general, permits virtually any JavaScript code to be executed, even when accessing standard NodeJS libraries like os, process, moment, and sprintf.

For each tag generated using **Derived Tags**, two different calculation alternatives are included:

- **Aggregated Tags:** Provides easy-to-use predefined functions to obtain the average, minimum, maximum, first, and last value of a tag over a defined time. It also provides the total number of events and the ratio of good quality events received during the interval. No complex code required.
- **Expression Tags:** Allows users to manipulate the value, quality, or timestamp of tags using JavaScript scripting in order to perform calculations and logic involving one or more raw tags, enabling the possibility of incorporating complex analysis closer to the source.
