Using scripts the from Data Project one can process the Cultivera Excel exports. Then using tools in App the processed data can be imported.

Exporting from Cultivera

Use their UI to export stuff.

Processing

./data/bin/import.php \
    --source-file ./source-123456-cultivera/Plants.xlsx \
    --source-type Cultivera-XLSX \
    --object-type crop \
    --output=./import-123456-cultivera

Importing

When the processed files are done use them to import into the application. First import the section, variety and product data from the given files. Then import the crop and inventory data.

./app/bin/import.php \
    --company $COMPANY \
    --license $LICENSE \
    --object-type variety \
    --source-list ./import-123456-cultivera/*.json