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.
This commit is contained in:
Marty Oehme 2024-01-06 10:32:21 +01:00
parent fbd7e6c216
commit e960d9a8e9
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -38,3 +38,8 @@ cmd = "quarto render"
[tool.poe.tasks.edit] [tool.poe.tasks.edit]
help = "Edit the main project file in-environment" help = "Edit the main project file in-environment"
cmd = "nvim" 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
"""