cqc_changes: Changes

Description Usage Arguments Value Examples

View source: R/changes.R

Description

Return ID's of CQC providers or locations that have reported changes in a given time period.

Usage

1
2
3
cqc_changes(organisation_type = c("provider", "location"),
  start_date = "2000-01-01", end_date = Sys.Date(), verbose = TRUE,
  clean_names = TRUE)

Arguments

organisation_type

One of "provider" or "location".

start_date

The start of the date range, in "YYYY-MM-DD" format, or any vector of character, integer or numeric that can be be parsed with anytime::anytime.

end_date

The end of the date range, in "YYYY-MM-DD" format, or any vector of character, integer or numeric that can be be parsed with anytime::anytime.

verbose

If TRUE prints download progress to console if requesting more than 1,000 records. Defaults to TRUE.

clean_names

If TRUE, converts a column names to snake_case. Defaults to TRUE.

Value

A tibble of all providers or locations that had reported changes in the given period

Examples

1
2
3
4
5
changes_location <- cqc_changes(
  organisation_type = "LoCAtiOn",
  start_date = "2019-03-10",
  end_date = "2019-03-12"
)

cqcr documentation built on Oct. 7, 2019, 5:06 p.m.