rfg_date: Bathrooms by dates

Description Usage Arguments Value Examples

View source: R/bathroom_dates.R

Description

Requests all records on bathrooms created or updated on or after a given date.

Usage

1
2
3
4
5
6
7
8
rfg_date(
  date = NULL,
  accessible = FALSE,
  unisex = FALSE,
  updated = FALSE,
  verbose = TRUE,
  tidy = FALSE
)

Arguments

date

A date in "yyyy-mm-dd" format, or any format that can be coerced to a date with as.Date().

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.

updated

If TRUE, returns all bathrooms updated or added since the given date. Defaults to FALSE, which only returns bathrooms added since the given date.

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 all bathrooms recorded or updated on or after the given date.

Examples

1
2
3
4
## Not run: 
q <- rfg_date("2017-11-04")

## End(Not run)

refuge documentation built on Jan. 15, 2021, 3:35 p.m.