Project

General

Profile

« Previous | Next » 

Revision 6409

mappings/VegCore-VegBIEN.csv: source table mappings: Set shortname to env var $source when it's not explicitly specified, because shortname is a required field of source

View differences:

VegBIEN.csv
1 1
SALVIAS,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2
coll_number,"/_if[@name=""if specimen""]/cond/_exists/_alt/1",Brad: Map instead as for voucher_string
3
SourceVoucher,"/_if[@name=""if specimen""]/cond/_exists/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
2 4
Line,"/location/_if[@name=""if subplot""]/cond/_exists",
3 5
PlotCode,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/1",
4 6
PlotID,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/2/_if[@name=""if locationID""]/cond/_exists",
......
143 145
PlotID,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/1",
144 146
PlotCode,"/location/sourceaccessioncode/_join/1/_if[@name=""if subplot and unique only within parent""]/then/_first/2",
145 147
Line,/location/sourceaccessioncode/_join/2,
146
coll_number,"/source/shortname/_if[@name=""if specimen""]/cond/_exists/_alt/1",Brad: Map instead as for voucher_string
147
SourceVoucher,"/source/shortname/_if[@name=""if specimen""]/cond/_exists/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
148 148
GenAuth,,** No join mapping for *GenAuth ** 
149 149
IsMorpho,,** No join mapping for *IsMorpho ** 
150 150
OrigAuth,,** No join mapping for *OrigAuth ** 

Also available in: Unified diff