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

duplicates in sen_sponsor_list #11

Closed RobertMyles closed 7 years ago

RobertMyles commented 7 years ago

sen_sponsor_list() returns duplicates Senators, although with different values for quantity. It's not very clear from the API what 'quantity' refers to. If it's the quantity of bills proposed by the senator, we can just group_by() and sum up.