duarteguilherme / congressbr

An R package that returns tidy data from the APIs of the Brazilian Federal Senate and Chamber of Deputies.
https://robertmyles.github.io/congressbr/
Other
43 stars 6 forks source link

Write an error message for cam_get_votes()? #25

Closed danilofreire closed 7 years ago

danilofreire commented 7 years ago

The function works fine, thanks!

But when I tried to use the function to see info about bills that were not voted (such as this one), I got the HTTP 500 error. Maybe we should have a specific error message for this case?

Of as @duarteguilherme told me some time ago, maybe it would be better to condense all three functions into one and make the package simpler to use?

danilofreire commented 7 years ago

Merged into #26