Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datawookie/racently
R wrapper for the @racently API
https://github.com/datawookie/racently
Last synced: about 1 month ago
JSON representation
R wrapper for the @racently API
- Host: GitHub
- URL: https://github.com/datawookie/racently
- Owner: datawookie
- Created: 2019-12-02T04:50:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-06T14:53:25.000Z (about 5 years ago)
- Last Synced: 2024-11-12T04:04:35.716Z (2 months ago)
- Language: R
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wrapper for @racently API
## Installation
Install directly from GitHub.
```
devtools::install_github("datawookie/racently")
```## Usage
There are currently only two endpoints available.
The `search_athlete()` function allows you to search for an athlete by name. The function accepts a regular expression, so there's quite a lot of flexibility in the way that the name can be specified.
```
search_athlete("Mann$")
```The `athlete()` function returns detailed information on a specific athlete.
```
athlete("7abaea70-337a-4c7a-9d13-31306dca26a8")
athlete("7ef6fbc8-4169-4a98-934e-ff5fa79ba103")
```