Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahshaaban/openreviewer
Query openreview API from R
https://github.com/mahshaaban/openreviewer
api-wrapper openreview
Last synced: 4 days ago
JSON representation
Query openreview API from R
- Host: GitHub
- URL: https://github.com/mahshaaban/openreviewer
- Owner: MahShaaban
- License: gpl-3.0
- Created: 2021-01-13T11:11:35.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T00:25:46.000Z (almost 4 years ago)
- Last Synced: 2023-08-03T15:25:11.423Z (over 1 year ago)
- Topics: api-wrapper, openreview
- Language: R
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openreviewer
An interface to query the [openreview](https://openreview.net/) platform
[API](https://api.openreview.net/) from R.The goal of this package is to
1. Use R syntax to make queries
2. Handel errors
3. Return usable objects "tidy"TODO:
1. Work with complex queries and anticipate errors
2. Tidy and/or simplify the returned content
3. Document the API parameters and write common use cases## Installation
Install from GitHub using `remotes`
``` r
remotes::install_github("MahShaaban/openreviewer")
```## Example
This is a basic example which shows how to query the API for a user profile
using an email address.``` r
# load the library
library(openreviewer)# make a query
prof <- request_profiles(email = '[email protected]')# tidy the output
tidyjson::spread_all(prof$content$profiles)
#> # A tbl_json: 1 x 14 tibble with a "JSON" attribute
#> ..JSON document.id id invitation active password tcdate tmdate tauthor
#>
#> 1 "{\"i… 1 ~Mah… ~/-/profi… TRUE TRUE 1.60e12 1.60e12 OpenRe…
#> # … with 5 more variables: content.preferredEmail , content.gender ,
#> # content.homepage , content.gscholar , content.orcid
```