Restroom record search

rfg_search(search, accessible = FALSE, unisex = FALSE, verbose = TRUE,
  tidy = FALSE)

Arguments

search

A string to search for. Note that the API does not accept wildcard searchs, searches all fields in all available records, and only returns exact (case-insensitive) whole-word matches.

accessible

If TRUE, only returns restrooms that meet the Americans with Disability Act standards for accessibility. Defaults to FALSE.

unisex

If TRUE, only returns unisex restrooms. Defaults to FALSE.

verbose

If TRUE, prints query progress. Defaults to TRUE.

tidy

If TRUE, makes state names more consistent. Defaults to FALSE.

Value

A tibble with all bathrooms matching your search request

Examples

s <- rfg_search(search="toronto")
#> Retrieving page 1 of 3
#> Retrieving page 2 of 3
#> Retrieving page 3 of 3