Revision 9461
Added by Aaron Marcuse-Kubitza over 11 years ago
inputs/GBIF/raw_occurrence_record/run | ||
---|---|---|
3 | 3 |
|
4 | 4 |
if self_not_included; then |
5 | 5 |
|
6 |
herbaria_filter.csv_/make() |
|
6 |
herbaria_filter.ih.csv_/make()
|
|
7 | 7 |
{ |
8 | 8 |
echo_func; set_make_vars; check_target_exists |
9 | 9 |
|
... | ... | |
16 | 16 |
{ |
17 | 17 |
echo_func; set_make_vars |
18 | 18 |
|
19 |
"$target_stem".csv_/make
|
|
19 |
herbaria_filter.ih.csv_/make
|
|
20 | 20 |
|
21 | 21 |
use_local_remote |
22 | 22 |
local table="$target_stem" |
... | ... | |
26 | 26 |
PRIMARY KEY (`acronym`) |
27 | 27 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='from IH.vegpath.org?&Index+Herbariorum' |
28 | 28 |
EOF |
29 |
mysql_import <"$top_dir"/herbaria_filter.csv_ |
|
29 |
mysql_import <"$top_dir"/herbaria_filter.ih.csv_
|
|
30 | 30 |
} |
31 | 31 |
|
32 | 32 |
func_override table.tsv/make__src_table_run |
Also available in: Unified diff
inputs/GBIF/raw_occurrence_record/run: renamed herbaria_filter.csv_ to herbaria_filter.ih.csv_ to allow for other tables that get combined into herbaria_filter