yes. i adapted a Jupyter notebook that i’ve been working on, with the following changes:
- uncomment (remove the leading
#
from the) lines that begin with:{'label': 'ident_taxa_vs_prev_ancestor'
(allows you to find identifications that were an ancestor to the observation taxon at the time of ID){'ref': 'place_ids'}
(allows you to get standard place names)
- modify the following lines:
req_params_string = 'spam=false&taxon_id=58573&ident_taxon_id=54068&created_d2=2023-03-10'
(look for taxon Bolonia, with an identification of B. selene, created before the change date)obs = await get_obs(req_params, get_all_pages=True, use_authorization=False, post_parse_filter_function=(lambda x: x['ident_taxa_vs_prev_ancestor'] > 0))
(get all records, applying a client-side filter for identifications which were ancestors to the obs taxon at the time of ID)
- run