Nicky Nicolson commited on
Commit
6d85436
·
1 Parent(s): 2c1d107

Mod filename and generated DB table name

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. metadata.json +1 -1
Dockerfile CHANGED
@@ -16,8 +16,8 @@ RUN ls -l /data
16
  RUN unzip /data/gbif-occs.zip -d /data
17
  RUN ls -l /data
18
  COPY ./tab2csv.py /code/tab2csv.py
19
- RUN python tab2csv.py /data/0032228-231002084531237.tsv /data/0032228-231002084531237.csv
20
- RUN csvs-to-sqlite /data/0032228-231002084531237.csv /code/gbifocc.db
21
  RUN ls -l /code
22
  RUN sqlite-utils tables /code/gbifocc.db --counts
23
 
 
16
  RUN unzip /data/gbif-occs.zip -d /data
17
  RUN ls -l /data
18
  COPY ./tab2csv.py /code/tab2csv.py
19
+ RUN python tab2csv.py /data/0032228-231002084531237.csv /data/gbifocc.csv
20
+ RUN csvs-to-sqlite /data/gbifocc.csv /code/gbifocc.db
21
  RUN ls -l /code
22
  RUN sqlite-utils tables /code/gbifocc.db --counts
23
 
metadata.json CHANGED
@@ -3,7 +3,7 @@
3
  "databases": {
4
  "gbifocc": {
5
  "tables": {
6
- "0032228-231002084531237": {
7
  "plugins": {
8
  "datasette-reconcile": {
9
  "id_field": "gbifID",
 
3
  "databases": {
4
  "gbifocc": {
5
  "tables": {
6
+ "gbifocc": {
7
  "plugins": {
8
  "datasette-reconcile": {
9
  "id_field": "gbifID",