Skip to content

rladies/meetupr

meetupr Meetupr hex logo by Zane Dax @StarTrek_Lt

Logo by Zane Dax @StarTrek_Lt

CRAN status meetupr status badge License: MIT R-CMD-check Codecov test coverage

R interface to the Meetup GraphQL API

Installation

Install the CRAN version:

install.packages("meetupr")

To install the development version from R-universe:

install.packages(
  'meetupr', 
  repos = c(
    'https://rladies.r-universe.dev', 
    'https://cloud.r-project.org'
  )
)

or from GitHub:

# install.packages("remotes")
remotes::install_github("rladies/meetupr")

Authentication

meetupr uses OAuth 2.0 for authentication with the Meetup API. The first time you run a meetupr function, you’ll be prompted to authorize the application in your browser. Your token will be cached for future sessions.

Usage

Get group events

library(meetupr)

events <- get_group_events("rladies-san-francisco", "past")

Get group members

members <- get_group_members("rladies-san-francisco")
head(members)
# A tibble: 6 × 4
  id       name                member_url                       member_photo_url
  <chr>    <chr>               <chr>                            <chr>           
1 14534094 Gabriela de Queiroz https://www.meetup.com/members/… https://secure-…
2 64513952 T. Libman           https://www.meetup.com/members/… https://secure-…
3 25902562 Maggie L.           https://www.meetup.com/members/… https://secure-…
4 2412055  Marsee Henon        https://www.meetup.com/members/… https://secure-…
5 11509157 Jessica Montoya     https://www.meetup.com/members/… https://secure-…
6 2920822  Benay Dara-Abrams   https://www.meetup.com/members/… https://secure-…

Search for groups

groups <- find_groups("R-Ladies") |>
  dplyr::arrange(desc(founded_date))

Pro network access

For Meetup Pro networks, note that user needs to be a pro network organiser to access the data.

# Get all groups in a pro network
pro_groups <- get_pro_groups("rladies")

# Get events from a pro network
pro_events <- get_pro_events("rladies", max_results = 10)

Contributing

We welcome contributions! Please see the contribution guidelines.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

R interface to the meetup.com API

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 17