cs_last_update: Date of Last Crime Data Update from SLMPD

Description Usage Arguments Value Examples

View source: R/last_update.R

Description

Data are updated by SLMPD on their crime statistics site on a monthly basis. This function returns the date of the last update.

Usage

1
cs_last_update(output = "string")

Arguments

output

A character scalar; if "string" the date will be returned in the style of "January 2019". If "date" the date will be returned as a YYYY-MM-DD date object.

Value

The date of the last posted data set in the format specified in the output parameter.

Examples

1
2
# obtain data of last update
cs_last_update()

compstatr documentation built on July 8, 2020, 7:34 p.m.