get_norman_data: Retrieve Data from Norman Network REST API

View source: R/get_norman_data.R

get_norman_dataR Documentation

Retrieve Data from Norman Network REST API

Description

This function interacts with the Norman Network Database System (NDS) API.

Usage

get_norman_data(module, parameter, value, page = NULL, format = "json")

Arguments

module

A character string specifying the database module. Allowed values:

  • "susdat" - Substance Database

  • "ecotox" - Ecotoxicology Database

  • "empodat" - EMPODAT Database

  • "passive" - Passive Sampling Database

parameter

A character string specifying the search parameter. The allowed parameters depend on the selected module:

  • For module = "susdat": "nsid", "casrn", "inchikey"

  • For module = "ecotox": "nsid", "casrn", "inchikey"

  • For module = "empodat": "nsid", "casrn", "inchikey", "country", "matrix", "id"

  • For module = "passive": "nsid", "casrn", "inchikey", "country", "matrix"

Parameter Descriptions:

  • nsid: Norman SusDat ID (e.g., "NS00001027" or "1027")

  • casrn: CAS Registry Number (e.g., "1490-04-6")

  • inchikey: International Chemical Identifier Key (e.g., "NOOLISFMXDJSKH-UHFFFAOYSA-N")

  • country: Country Alpha-2 code (e.g., "SK")

  • matrix: Ecosystem/matrix ID (e.g., "3")

  • id: Empodat ID or range (e.g., "100" or "100:150")

value

A character or numeric value corresponding to the chosen parameter.

page

(Optional) Integer or character. The page number for pagination. If NULL (default), the page segment is omitted from the URL.

format

A character string specifying the output format. Allowed values: "json", "xml". Defaults to "json".

Value

  • If format = "json": A list or data frame (parsed JSON).

  • If format = "xml": A raw character string (XML content).


normanR documentation built on Sept. 12, 2026, 5:10 p.m.