The refuge
package provides access to the Refuge
Restrooms API in R.
Refuge Restrooms “is a web application that seeks to provide safe restroom access for transgender, intersex, and gender nonconforming individuals.” The web application includes a public API, which this package allows access to. The API does not require users to sign up or use a key. For further details on the API see the API docs, or the package vignette. For details on the organisation providing this data, check out the Refuge Restrooms homepage.
The API does not require registration or an API key.
To install the latest version from CRAN, use:
install.packages("refuge")
You can install the latest development version from GitHub with:
# install.packages("devtools")
devtools::install_github("evanodell/refuge")
Locating all restrooms close to a given set of coordinates, in this case somewhere in New Jersey:
library(refuge)
bathrooms <- rfg_location(lat=39, lng=-75)
Locating all unisex, accessible restrooms in Toronto, using the
rfg_search()
function.
toronto <- rfg_search("toronto", accessible = TRUE, unisex = TRUE)
For more detailed examples, check out the vignette.
refuge
Odell E (2018). refuge: Locate Trans and Intersex-Friendly Toilets. doi: 10.5281/zenodo.1219900, R package version 0.3.2.9000, <URL: https://github.com/evanodell/refuge>.
A BibTeX entry for LaTeX users is
@Manual{,
= {{refuge}: Locate Trans and Intersex-Friendly Toilets},
title = {Evan Odell},
author = {2018},
year = {R package version 0.3.2.9000},
note = {10.5281/zenodo.1219900},
doi = {https://github.com/evanodell/refuge},
url }
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
This project is not affiliated with the Refuge Restrooms application.