Java code used to parse Foursquare data into RSiena format