From e960d9a8e978a381d22f24c3b9f7ef983c0bd39e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 6 Jan 2024 10:32:21 +0100 Subject: [PATCH] feat(repo): Add poe observation extraction task Extracts the yml data into a single csv file which can be more easily exported and imported into other applications. CSV file contains a row per observation. --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 01fb1e2..952b323 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,3 +38,8 @@ cmd = "quarto render" [tool.poe.tasks.edit] help = "Edit the main project file in-environment" cmd = "nvim" +[tool.poe.tasks.extract] +help = "Extract the csv data from raw yaml files" +shell = """ +python src/data.py > 02-data/processed/extracted.csv +"""