list(ewu.notes("summarizing my attempts so far to access race/ethnicity data from 2010 Census"))

# <codecell>


reload(ewu)

ewu.web_api_notes_from_selection()

# <codecell>

# take selection and strip out the when tags

reload(ewu)
    
ewu.strip_when_tags_move_to_ref_nb_for_selection()

# <codecell>

# look for stray actions: ones that are tied to retired projects or yet to be activated projects

action_notes = list(islice(ewu.notes_metadata(includeTitle=True, 
                                  includeUpdated=True,
                                  includeUpdateSequenceNum=True,
                                  notebookGuid=ewu.notebook(name='Action Pending').guid), None))

len(action_notes)

# accumulate tags and compute a dict of tag -> notes, including notes with no project tag