Analyze Kiva data with R