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

Change `code` to `id` #28

Closed danilofreire closed 7 years ago

danilofreire commented 7 years ago

In the vignettes we usually mention the senator's/mp's id, but the function asks for a code option. Wouldn't it be better if we rename the parameter as id to make it more intuitive to users?

RobertMyles commented 7 years ago

Fixed with commit 686b9d4.