-
Notifications
You must be signed in to change notification settings - Fork 25
/
README.Rmd
83 lines (54 loc) · 3 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit the Rmd file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
# If emo is not installed, install it.
# devtools::install_github("hadley/emo")
```
# meetupr <img src="man/figures/logo.png" align="right" alt="Zane Dax @StarTrek_Lt" width="138.5" />
<small>Logo by Zane Dax [@StarTrek_Lt](https://mobile.twitter.com/startrek_lt)</small>
## ⚠️ ALERT TO USERS:
Meetup has deprecated the REST API that's used in this package. We are working to [add support](https://github.com/rladies/meetupr/issues/118) for their new API but unfortnately that means that the package is not currently functional. If you'd like to help with this transition in any way (we could use help with testing and documentation in particular), please comment on the this [issue](https://github.com/rladies/meetupr/issues/118).
<!-- badges: start -->
[![R-CMD-check](https://github.com/rladies/meetupr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rladies/meetupr/actions)
[![Codecov test coverage](https://codecov.io/gh/rladies/meetupr/branch/master/graph/badge.svg)](https://codecov.io/gh/rladies/meetupr?branch=master)
<!-- badges: end -->
R interface to the [Meetup API](https://www.meetup.com/meetup_api/) (v3)
## Installation
To install the development version from GitHub:
```{r gh-installation, eval = FALSE}
# install.packages("remotes")
remotes::install_github("rladies/meetupr")
```
A released version will be on CRAN [soon](https://github.com/rladies/meetupr/issues/24).
## Usage
### Authentication
#### API key? No
```{r child='man/rmd-fragments/api-key.Rmd'}
```
#### OAuth? Yes
```{r child='man/rmd-fragments/oauth.Rmd'}
```
### Functions
See the [pkgdown reference](https://rladies.github.io/meetupr/reference/index.html).
For example, the following code will get all upcoming events for the [R-Ladies San Francisco](https://meetup.com/rladies-san-francisco) meetup.
```{r}
library(meetupr)
urlname <- "rladies-san-francisco"
events <- get_events(urlname)
dplyr::arrange(events, desc(time))
```
We can also search for groups with free text.
```{r}
groups <- find_groups("R-Ladies")
dplyr::arrange(groups, desc(created))
```
## How can you contribute?
We are looking for new people to join the list of contributors! Please take a look at the open [issues](https://github.com/rladies/meetupr/issues), file a new issue, contribute tests, or improve the documentation. We are also looking to expand the set of functions to include more endpoints from the [Meetup API](https://www.meetup.com/meetup_api/). Lastly, we'd also love to [hear about](https://github.com/rladies/meetupr/issues/74) any applications of the **meetupr** package, so we can compile a list of demos!
Please note that the this project is released with a [Contributor Code of Conduct](https://github.com/rladies/.github/blob/master/CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.