Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Observatoire
observatoire-scripts
Commits
7af02d2f
Commit
7af02d2f
authored
Oct 04, 2019
by
Pierre Dittgen
Browse files
Fix COG loading
parent
203a2f02
Pipeline
#1453
failed with stages
in 10 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
download_and_prepare_data
View file @
7af02d2f
...
...
@@ -102,7 +102,7 @@ prepare_db_info() {
fi
# Imports departements CSV into DB
$PYTHON
$LIB_DIR
/db/csv_sqlite_import.py
--table_name
=
depts
--csv_delimiter
=
tab
$CACHE_DIR
/cog
.t
sv
$SQLITE_DB
$PYTHON
$LIB_DIR
/db/csv_sqlite_import.py
--table_name
=
depts
--csv_delimiter
=
tab
$CACHE_DIR
/cog
_departement.c
sv
$SQLITE_DB
||
exit
1
# Imports GoogleSheet CSV into DB
$PYTHON
$LIB_DIR
/db/csv_sqlite_import.py
--table_name
data_orga
--integer_cols
=
5,7
$ODF_ORGA_FILE
$SQLITE_DB
||
exit
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment