Commit bdf02d23 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Update to data gouv organizations structure changes:

- metric.dataset.views column has been removed
- metric.reuse.views column has been removed
- metric.resource.downloads column has been removed
parent ada6d6f7
Pipeline #2046 passed with stages
in 23 minutes and 47 seconds
......@@ -110,7 +110,7 @@ prepare_db_info() {
# Imports Data gouv CSVs into DB
$PYTHON $LIB_DIR/db/csv_sqlite_import.py --table_name data_gouv_organizations --csv_delimiter=semicolon --integer_cols=9,10,11,12,13,14,15,16 $DG_DUMP_DIR/organizations.csv $SQLITE_DB || exit 1
$PYTHON $LIB_DIR/db/csv_sqlite_import.py --table_name data_gouv_organizations --csv_delimiter=semicolon --integer_cols=9,10,11,12,13 $DG_DUMP_DIR/organizations.csv $SQLITE_DB || exit 1
$PYTHON $LIB_DIR/db/csv_sqlite_import.py --table_name data_gouv_datasets --csv_delimiter=semicolon --integer_cols=18,19,20,22 $DG_DUMP_DIR/datasets.csv $SQLITE_DB || exit 1
$PYTHON $LIB_DIR/db/csv_sqlite_import.py --table_name data_gouv_resources --csv_delimiter=semicolon --integer_cols=20 $DG_DUMP_DIR/resources.csv $SQLITE_DB || exit 1
# And add _siren et _nom columns
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment