process_France.mk 620 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

France:  $(D3)/France/Done.no.txt $(D3)/France/Done.log.txt

$(D3)/France/Done.no.txt: R/process.data/process-fun.R  $(D2)/France/traits.csv 
	Rscript -e "source('$<'); process_inventory_dataset('France',std.traits='no');"

$(D3)/France/Done.log.txt: R/process.data/process-fun.R  $(D2)/France/traits.csv 
	Rscript -e "source('$<'); process_inventory_dataset('France',std.traits='log');"

$(D2)/France/traits.csv: R/find.trait/France.R R/find.trait/trait-fun.R $(D2)/France/tree.csv $(D2)/TRY/data.TRY.std.rds
	Rscript $< 

$(D2)/France/tree.csv: R/format.data/France.R $(shell find $(D1)/France -type f)
	Rscript $<