Downloads and tidies data for lists of bills in Brazilian Chamber of Deputies
cham_bills(
type = "",
number = "",
year = "",
initial_date = "",
end_date = "",
part_name_author = "",
id_type_author = "",
abbreviation_party_author = "",
abbreviation_st_author = "",
gender_author = "",
cod_state = "",
cod_branch_state = "",
still = "",
ascii = T
)character. The type of the bill. For example, "PL".
integer. The number of the bill
integer. The year of the bill.
(character) start date of the period requested.
This parameter must be in the format YYYY-MM-DD (Year-Month-Day).
(character) final date for period requested. Format
YYYYMMDD.
(character). Filter bills by a part of the author's name
(character). Filter bills by type of a branch_author for the bill.
(character). Filter bills by the party of the author
(character). Filter bills by the state of the author
(character). If "M", bills proposed by male authors are filtered. If "F", female authors. If empty, every bill is included.
(integer). Filter bills by a part of the author's name
(integer). Filter by the id of the branch regarding the bill.
(integer). If 1, only bills that are still being discussed are included. If 2, only ended bills. If empty, every bill is included.
logical. If TRUE, certain strings are converted to ascii
format.
A tibble, of classes tbl_df, tbl and data.frame.
# NOT RUN {
cham_bills(type = "PL", year = 2011, number = 2718, initial_date="2011-16-11")
# }
Run the code above in your browser using DataLab