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
cdf1fe21
Commit
cdf1fe21
authored
Dec 20, 2021
by
Pierre Dittgen
Browse files
One column has been removed from datagouv datasets.csv
parent
8ec3be5c
Pipeline
#3298
passed with stages
in 182 minutes and 3 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
download_and_prepare_data
View file @
cdf1fe21
...
...
@@ -114,7 +114,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
$DG_DUMP_DIR
/organizations.csv
$SQLITE_DB
$PYTHON
$LIB_DIR
/db/csv_sqlite_import.py
--table_name
data_gouv_datasets
--csv_delimiter
=
semicolon
--integer_cols
=
20,21,22,23,24
,25
$DG_DUMP_DIR
/datasets.csv
$SQLITE_DB
$PYTHON
$LIB_DIR
/db/csv_sqlite_import.py
--table_name
data_gouv_datasets
--csv_delimiter
=
semicolon
--integer_cols
=
20,21,22,23,24
$DG_DUMP_DIR
/datasets.csv
$SQLITE_DB
$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
# And add _siren et _nom columns
$SQLITE3
$SQLITE_DB
<
$LIB_DIR
/db/add_siren_nom_to_datagouv_tables.sql
...
...
Johan Richer
@johan
mentioned in issue
#3 (closed)
·
Dec 21, 2021
mentioned in issue
#3 (closed)
mentioned in issue #3
Toggle commit list
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