Table of Contents

guest
2025-11-07
Iris Data Set
   Iris Search Tool

Iris Data Set


Iris data set

The Iris data set is very famous among statisticians as a demonstration set for statistical methods. It is often used to illustrate classification algorithms.
The data set gives the measurements in centimeters of the variables sepal length and width, and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica.

The iris data set is one of the many example data that ship "out-of-the-box" with distributions of the statistical language R.

Accessing data with the API

Prerequisites

  1. Install Rlabkey package in R
  2. Create _netrc file in Windows or .netrc in Mac, Unix or Linux: Create a netrc file
  3. If on Windows OS: Create an environment variable: HOME pointing to the directory containing the _netrc file

Reset the dataset

library(Rlabkey)
#
#  Reset the database
#
mydata = labkey.selectRows( baseUrl="https://labkey-collab.scicore.unibas.ch",
    folderPath="/Public datasets/Iris dataset",
    schemaName="lists",
    queryName="Iris",
    viewName="",
    colFilter=NULL,
    containerFilter=NULL
)
labkey.deleteRows(  baseUrl="https://labkey-collab.scicore.unibas.ch",
                  folderPath="/Public datasets/Iris dataset",
                  schemaName="lists",
                  queryName="Iris",
                  toDelete=mydata[,"Key",drop=FALSE]
)
labkey.insertRows(  baseUrl="https://labkey-collab.scicore.unibas.ch",
                  folderPath="/Public datasets/Iris dataset",
                  schemaName="lists",
                  queryName="Iris",
                  toInsert=iris
)




Iris Search Tool


Iris Search Tool

Range of value Iris keys:

Iris ID: