ium_464903/data_processing_script.sh

16 lines
416 B
Bash
Raw Normal View History

2024-03-20 12:36:08 +01:00
#!/bin/bash
2024-03-26 20:48:14 +01:00
#wget https://www.kaggle.com/datasets/jjayfabor/lettuce-growth-days -O input_data.csv
kaggle datasets download -d jjayfabor/lettuce-growth-days
# Unzipping the downloaded dataset
unzip lettuce-growth-days.zip
# Renaming the CSV file to a more suitable name
mv lettuce_dataset_updated.csv input_data.csv
2024-03-20 12:36:08 +01:00
2024-03-20 13:36:44 +01:00
head -n "$1" input_data.csv > processed_data.csv
2024-03-20 12:36:08 +01:00
echo "Dane przetworzone" > processing_log.txt