Designed to be including in a purrr call. This wraps
mv_get_agency, mv_reformat, and mv_filter.
mv_batch_agency(browser, agency, statistic, format, category, year, pause = 3)
| browser | Name of a browser binding created with |
|---|---|
| agency | An agency name (for St. Louis City and County agencies) or id number (for agencies statewide). |
| statistic | The statistic to download (see |
| format | Style to reformat raw data (see |
| category | Category to extract (see |
| year | Year to extract (see |
| pause | Number of seconds to pause while pages load - adjust as needed depending on internet connection |
A tibble with the formatted and subset data.