uvacw / inca

24 stars 6 forks source link

Timeline generator fails if document misses timestamp #343

Open damian0604 opened 6 years ago

damian0604 commented 6 years ago
g = inca.analysis.timeline_analysis.timeline_generator() 
df = g.analyse(query, 'publication_date', from_time='2000-01-01', granularity='month')

fails if there is a document that misses the key 'publication_date'. We should skip and emit a warning instead.