Use case:

  • Data from some IDS changes.
  • We want to update the datasets.

Click here on how to use the R6 class Xtractor.

All features have been calculated:

##      Species mean_sepal_length sd_sepal_length mean_petal_length
## 1     setosa             5.006       0.3524897             1.462
## 2 versicolor             5.936       0.5161711             4.260
## 3  virginica             6.588       0.6358796             5.552
##   sd_petal_length
## 1       0.1736640
## 2       0.4699110
## 3       0.5518947

Let’s change the dataset for the species virginica:

library(dplyr)
iris_vers = iris %>% filter(Species == "virginica")
iris_vers$Sepal.Length = abs(rnorm(nrow(iris_vers)))

Delete Old Data

Datasets are saved as RDS files (one file for each ID of the grouping variable). Single RDS files can be removed:

Calculate Features

##      Species mean_sepal_length sd_sepal_length mean_petal_length
## 1     setosa         5.0060000       0.3524897             1.462
## 2 versicolor         5.9360000       0.5161711             4.260
## 3  virginica         0.8459228       0.6475276             5.552
##   sd_petal_length
## 1       0.1736640
## 2       0.4699110
## 3       0.5518947