-
Notifications
You must be signed in to change notification settings - Fork 12
Description
It would be nice to add support for specifying date ranges to search for with LISC, for EUtils.
There are some notes on optional parameters for dates here:
https://www.ncbi.nlm.nih.gov/books/NBK25499/
There looks to be two ways to do things:
-
- search for things in the last n day
-
- search for things between two specified dates
There is also a datetype option to specify things like "modification date" or "publication date". By default, we want publication date. I guess maybe might as well make this user definable though as well. I think, if it's easy, adding support for both both types of date makes sense. Note that these settings are only relevant to EQuery, and ESearch (I think).
Mainly, I think doing this relates to the URLs handling in the eutils file:
https://github.com/lisc-tools/lisc/blob/master/lisc/urls/eutils.py
Otherwise, this will also just need some checking through the code for managing & accepting these extra settings.
I'm hoping this is an easy extension! This is the kind of update of is somewhat depending on knowing a bit about the codebase, and overall organization and approach - which in this case is to connect to a RESTful API (from EUtils).