Brazillian security offices maintain several sources of criminal information. Very often, those sources are not user friendly and don't give an explict way to build historical databases.
This packages provides a tidy and (almost) unified framework for accessing those informations.
Today, this package scrapes information only in São Paulo. As an example, we can obtain crime statistics for the county of São Paulo using
brcrimR::get_summarized_table_sp(year = '2017', city = '0')
São Paulo's Security Office also disponibilize detailed information on the crime reports that originated the table above. One can obtain such information using
brcrimR::get_detailed_table_sp(folder = 'btnHomicicio',
#this is not a typo
year = '2017', month = '1', department = '0')
get_summarized_table
get_detailed_table
get_summarized_table
browse
get_summarized_table
get_detailed_table
tempfile()
on open_table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.