idigbio-api-hackathon / dedup

Specimen dedup code
MIT License
0 stars 0 forks source link

Input format #1

Open sckott opened 9 years ago

sckott commented 9 years ago

Right now we require indexing by data provider

{
   "gbif": {...},
   "vertnet": {...}
   "idigbio": {...}
}

But maybe it makes more sense to have a flat input like

{
   "gbif_<unique key>": {...},
   "gbif_<unique key>": {...},
   "vertnet_<unique key>": {...},
   "vertnet_<unique key>": {...},
   "idigbio_<unique key>": {...},
   "idigbio_<unique key>": {...}
}
sckott commented 9 years ago

might be some problems with flat input, e.g., if there is no unique key for the occurrence, but maybe there always is?