Description Usage Arguments Value Examples
Downloads crime data from the SLMPD website.
1 | cs_get_data(year, month, index)
|
year |
A year value in the style |
month |
Optional; a month number, name, or abbreviation - |
index |
Optional; an index object created with |
A year-list object ready for validation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # create index
i <- cs_create_index()
# download single month
may18 <- cs_get_data(year = 2018, month = "May", index = i)
# preview single month
may18
# download full year
yearList18 <- cs_get_data(year = 2018, index = i)
# preview year list object
yearList18
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.