Fetching the total amount of SE reputation accumulated
It's simple to extract all reputation and subsequently sum an index. This is instead of performing the ifelse inside the *apply function to demonstrate indexing.

library(httr)
allc &lt;- content(GET(paste0("http://api.stackexchange.com/users/",'10400443',"/associated")))
allci &lt;- allc$items

# get all reputation out of list
allrep &lt;- sapply(allci,`[[`,'reputation')

# sum only index of &gt; 101
sum(allrep[allrep &gt; 101])


I'm not familiar with Python, but it appears that indexing in R serves the same purpose as list comprehension in Python - list comprehension in r