Funded amount for expired loans

87 views
Skip to first unread message

Vijay

unread,
Jun 27, 2012, 1:57:51 PM6/27/12
to build...@googlegroups.com
Hi,

Is there any way to find out how much of the loan was funded, for expired loans?

For example, this loan
http://api.kivaws.org/v1/loans/130891.html

both funded amount and loan amount are the same.  Shouldn't the funded amount be less than
the loan amount?

Thank you,
Vijay.

Kevin O'Brien

unread,
Jun 27, 2012, 2:19:24 PM6/27/12
to build...@googlegroups.com
To answer your question, you already have the data you need, funded_amount is indeed accurate as the amount that was fundraised.

I think there was a bug with this particular loan, where it expired early and it left the loan in a state where it was funded but expired, at least, that's what I can gather from our bug records, as it happened before my time here. Such cases should be few and far between.

I am curious now to go into the data and see how many loans exist where the amount funded is the same as the loan amount, but the loan is expired. I'll see if I can report back on that.

Cheers,

-k


--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To post to this group, send email to build...@googlegroups.com.
To unsubscribe from this group, send email to build-kiva+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/build-kiva?hl=en.

Vijay

unread,
Jun 27, 2012, 2:37:29 PM6/27/12
to build...@googlegroups.com
https://docs.google.com/spreadsheet/ccc?key=0AmgXKivDBcOidHF6TWhmbTlKZWZXajZnX2Fvcy1jT0E

I made a list of expired loans with funded amount and loan amount.  It seems to be the same.
I'm not sure what I'm doing wrong :(

Kevin O'Brien

unread,
Jun 27, 2012, 2:56:12 PM6/27/12
to build...@googlegroups.com
Indeed. 

I think, something is weird about the way we have the data, cause when I looked up a few of the loans you listed, I see that the total shares for that loan equal the amount funded, which of course in these cases equal the amount the loan was fundraising for. But for instance for loan 421038 there was a bunch of entries where there was no owner or purchase_time, not sure why that is, maybe it's just the way we store this stuff. 

So, I'm thinking, maybe in the API, we aren't filtering those out for the funded_amount and that we should be. Going to talk to Martin about it.

-k

Vijay

unread,
Jun 27, 2012, 2:58:28 PM6/27/12
to build...@googlegroups.com
thank you :)

Kevin O'Brien

unread,
Jul 2, 2012, 5:08:14 PM7/2/12
to build...@googlegroups.com
We committed a fix for this that should go out in our next release. I'll e-mail here again after our next release (perhaps next week, though not a definite) if that change goes out.

Thanks for bringing it to our attention.

Cheers,

-k

Vijay

unread,
Jul 2, 2012, 5:26:47 PM7/2/12
to build...@googlegroups.com
Awesome, thank you :)

Martin Butt

unread,
Jul 10, 2012, 3:04:58 PM7/10/12
to build...@googlegroups.com
Just to confirm, this is live now.

Martin Butt | Software Engineer

Kiva – Loans that Change Lives
Join us on Twitter
Facebook and LinkedIn!


Kevin O'Brien

unread,
Jul 10, 2012, 3:08:35 PM7/10/12
to build...@googlegroups.com
Yep and the original loan link you posted has the correct funded_amount now. 

Thanks for following up Martin, it slipped my mind.

-k

Vijay

unread,
Jul 10, 2012, 3:10:33 PM7/10/12
to build...@googlegroups.com
Awesome, thank you :)
Reply all
Reply to author
Forward
0 new messages