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.

Installation

To install the latest version from CRAN, use:

You can install the latest development version from GitHub with:

Use

Locating all restrooms close to a given set of coordinates, in this case somewhere in New Jersey:

Locating all unisex, accessible restrooms in Toronto, using the rfg_search() function.

For more detailed examples, check out the vignette.

Citing refuge

Odell E (2018). refuge: Locate Trans and Intersex-Friendly Toilets. doi: 10.5281/zenodo.1219900 (URL: http://doi.org/10.5281/zenodo.1219900), R package version 0.1.0, <URL: https://github.com/evanodell/refuge>.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {{refuge}: Locate Trans and Intersex-Friendly Toilets},
    author = {Evan Odell},
    year = {2018},
    note = {R package version 0.1.0},
    doi = {10.5281/zenodo.1219900},
    url = {https://github.com/evanodell/refuge},
  }

Notes

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.