GlobalNamesArchitecture / gni

Global Names Index
http://wiki.github.com/GlobalNamesArchitecture/gni
22 stars 2 forks source link

As a User I should be aware when data source records were updated last #30

Open dimus opened 10 years ago

dimus commented 10 years ago

Currently resolver does not give information when a particular source was updated. There are two ways of adding this information -- when someone queries data source itself, or as a part of each record. I think the best way would be to return it once for each data source mentioned in the output.

data sources
    data_source
        id 1
        title NCBI
        last_updated 2012-12-1
dshorthouse commented 10 years ago

By "updated", do you mean when the provider last updated their resource or do you mean when the resource was last harvested and incorporated into GNI? There should be both a last_updated and last_harvested entry to make it a little clearer to everyone involved.

dimus commented 10 years ago

I am not sure how can we know when a data source itself was updated as there is no any system at this time which would allow us to know that. So my idea was to add information from eml.xml about the date of dwca creation, and if it does not exist -- the date when actual upload did happen. It does sound like two separate categories though, so It does make sense to make 2 fields in a record. May be 'last upated' and 'last uploaded' ?