cs_last_update: Date of Last Crime Data Update from SLMPD

View source: R/last_update.R

cs_last_updateR Documentation

Date of Last Crime Data Update from SLMPD

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

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

# obtain data of last update
cs_last_update()



chris-prener/compStatR documentation built on Jan. 25, 2024, 10:03 p.m.