biocodellc / ppo-data-interface

Visual global plant phenology
0 stars 1 forks source link

give users search parameters in their own file #10

Closed jdeck88 closed 6 years ago

jdeck88 commented 6 years ago

From Ellen: 4) It would be nice to give the users their search parameters upon download--I had to be really careful to remember as I was testing a bunch of different queries. ;) This could be in a separate file, embedded in the main data file, or whatever other solution John might come up with.

jdeck88 commented 6 years ago

This was implemented in ppo-data-server in this commit: https://github.com/biocodellc/ppo-data-server/commit/dbe847345c9103dca13978e7e2d788c914cc9a03

jdeck88 commented 6 years ago

Currently, the traits returned in the query string are URIs. This could be confusing to users who selected a text-based trait. However, the users can follow the URL to determine the referenced trait. Doing it this way is actually more robust if term names change in the future as the hyperlink will show the actual term that was referenced at the time of the query.