R package for interfacing with the BEACON web API