TY - I never would have figured that out.

/j

On Thursday, January 5, 2017 at 4:11:11 PM UTC-6, David Karger wrote:
>
> Index counts the number of presidents who came before; presidency the 
> number of presidencies.  so after grover cleveland's second presidency, 
> each president's index is one less than their presidency, because grover 
> cleveland counts as one president but two presidencies.
>
> so for the timeline the join is actually on presidency, not index.
>
> On Sunday, January 17, 2016 at 7:28:02 AM UTC-5, Jay Gray wrote:
>>
>> The presidents.json file has this entry for Grover Cleveland
>>
>> { "label": "Grover Cleveland",
>>>   "type": "President",
>>>   "presidency": [ 22, 24 ],
>>>   "index": 22,
>>>   "term": [ 25, 27 ],
>>>   "religion": [ "Presbyterian" ]
>>> }
>>>
>>
>> Grover Cleveland was president # 22 and 24.
>>
>> But here are the timeline entries --
>>
>> { "label": "22",
>>>   "type": "Presidency",
>>>   "index": 22,
>>>   "inDate": "1885-03-04",
>>>   "outDate": "1889-03-04"
>>> },
>>> { "label": "23",
>>>   "type": "Presidency",
>>>   "index": 23,
>>>   "inDate": "1889-03-04",
>>>   "outDate": "1893-03-04"
>>> },
>>> {  "label": "24",
>>>    "type": "Presidency",
>>>    "index": 24,
>>>    "inDate": "1893-03-04",
>>>    "outDate": "1897-03-04"
>>> },
>>>
>>
>> But good ole Grover doesn't map to "index": 24.
>>
>> William McKinney maps to "index": 24 --
>>
>> { "label": "William McKinley",
>>>   "type": "President",
>>>   "presidency": 25,
>>>   "index": 24,
>>>   "term": [ 28, 29 ],
>>>   "dieInOffice": "yes",
>>>   "religion": [ "Methodist" ]
>>> },
>>>
>>
>> Am I failing to understand the use of "index" as the 'join' between the 
>> PERSON and the TIMELINE?
>>
>> Or is something else going on here?
>>
>> /jay
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to