added r script not releasable code yet

This commit is contained in:
2025-08-24 21:28:33 +02:00
parent d77c51cc81
commit 017f9fbf2e
14 changed files with 101 additions and 16 deletions

View File

@ -1,6 +1,5 @@
import pandas as pd
class DataSchema:
AMOUNT = "amount"
CATEGORY = "category"
@ -8,8 +7,17 @@ class DataSchema:
MONTH = "month"
YEAR = "year"
class SPC_Schema:
FC = "FC"
Category1 = "Category1"
Category2 = "Category2"
Category3 = "Category3"
Batch = "Batch"
Lot = "Lot"
DateTime = "DateTime"
Value = "Value"
def load_transaction_data(path: str) -> pd.DataFrame:
def load_spc_data(path: str) -> pd.DataFrame:
# load the data from the CSV file
data = pd.read_csv(
path,

3
src/data/statistic_ver.R Normal file
View File

@ -0,0 +1,3 @@
library("ggplot2")
read.csv("data\\")