Given a pair of coordinates (latitude and longitude), finds any nearby bathrooms, subject to other parameters.

rfg_location(
  lat,
  lng,
  accessible = FALSE,
  unisex = FALSE,
  verbose = TRUE,
  tidy = FALSE
)

Arguments

lat

Location latitude

lng

Location longitude

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 USA state names more consistent. The internal function focuses on correcting known errors and mistakes, if incorrect state data is supplied that cannot be corrected. Defaults to FALSE.

Value

A tibble with details of any and all nearby refuge bathrooms.

Examples

if (FALSE) {
c <- rfg_location(lat = 39, lng = -75)
}