cqc_location_details: Location Details - still incomplete

View source: R/location_details.R

cqc_location_detailsR Documentation

Location Details - still incomplete

Description

Location Details - still incomplete

Usage

cqc_location_details(
  x,
  location_col = "location_id",
  verbose = TRUE,
  clean_names = TRUE
)

Arguments

x

A data frame with location IDs, e.g. one returned by cqc_locations_search().

location_col

The name of the column with location IDs, defaults to "location_id".

verbose

If TRUE, displays progress bar on data retrieval. Requires the pbapply package to be installed. If verbose=TRUE and pbapply is not not installed, will display a warning and continue silently.

clean_names

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

Value

A list with location details

Examples


loc1 <- cqc_locations_search(care_home = TRUE, local_authority = "Hackney")

loc1_details <- cqc_location_details(loc1)



evanodell/cqcr documentation built on April 24, 2023, 12:40 a.m.