R interface to the Legiscan API