molybdenum-99 / reality

Comprehensive data proxy to knowledge about real world
MIT License
818 stars 43 forks source link

Historically timed data #9

Open zverok opened 8 years ago

zverok commented 8 years ago

At least two cases I can think of:

1.

Reality.country('Argentina').leaders(at: 2009) 

Using https://github.com/molybdenum-99/infoboxer/issues/54, extracts old revision of "Argentina" article from Wikipedia, takes data from there.

2.

fdr = Reality.person('Franklin D. Roosevelt')
fdr.occupation 
# => large structure with titles and dates: president, vice-president, senator...
fdr.occupation(at: 1914) 
# => "Assistant Secretary of the Navy", extracted from the structure