Title: | Meetup R API |
---|---|
Description: | Provides access to data from <https:www.meetup.com> (see <https:www.meetup.com/meetup_api/> for more information). |
Authors: | Athanasia Mo Mowinckel [aut, cre] , Erin LeDell [aut], Olga Mierzwa-Sulima [aut], Lucy D'Agostino McGowan [aut], Claudia Vitolo [aut], Gabriela De Queiroz [ctb], Michael Beigelmacher [ctb], Augustina Ragwitz [ctb], Greg Sutcliffe [ctb], Rick Pack [ctb], Ben Ubah [ctb], Maƫlle Salmon [ctb] , Barret Schloerke [ctb] |
Maintainer: | Athanasia Mo Mowinckel <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.2.99.9002 |
Built: | 2024-11-12 05:58:14 UTC |
Source: | https://github.com/rladies/meetupr |
Find meetup groups matching a search query
find_groups( query, ..., topic_category_id = NULL, lat = 0, lon = 0, radius = 1e+08, extra_graphql = NULL, token = meetup_token() )
find_groups( query, ..., topic_category_id = NULL, lat = 0, lon = 0, radius = 1e+08, extra_graphql = NULL, token = meetup_token() )
query |
Required search text |
... |
Should be empty. Used for parameter expansion |
topic_category_id |
Topic ID e.g 543 for technology topic |
lat |
Latitude. An integer |
lon |
Longitutde. An integer |
radius |
Radius. An integer |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
Get the attendees for a specified event
get_event_attendees(id, ..., extra_graphql = NULL, token = meetup_token())
get_event_attendees(id, ..., extra_graphql = NULL, token = meetup_token())
id |
Required event ID |
... |
Should be empty. Used for parameter expansion |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
A tibble with the following columns:
id
name
url
photo
organized_group_count
https://www.meetup.com/api/schema/#Event https://www.meetup.com/api/schema/#Ticket https://www.meetup.com/api/schema/#User
## Not run: attendees <- get_event_attendees(id = "103349942!chp") ## End(Not run)
## Not run: attendees <- get_event_attendees(id = "103349942!chp") ## End(Not run)
Get the comments for a specified event
get_event_comments(id, ..., extra_graphql = NULL, token = meetup_token())
get_event_comments(id, ..., extra_graphql = NULL, token = meetup_token())
id |
Required event ID |
... |
Should be empty. Used for parameter expansion |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
A tibble with the following columns:
id
comment
created
like_count
member_id
member_name
link
https://www.meetup.com/api/schema/#Event https://www.meetup.com/api/schema/#EventCommentConnection
## Not run: comments <- get_event_comments(id = "103349942!chp") ## End(Not run)
## Not run: comments <- get_event_comments(id = "103349942!chp") ## End(Not run)
Get the RSVPs for a specified event
get_event_rsvps(id, ..., extra_graphql = NULL, token = meetup_token())
get_event_rsvps(id, ..., extra_graphql = NULL, token = meetup_token())
id |
Required event ID |
... |
Should be empty. Used for parameter expansion |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
A tibble with the following columns:
member_id
member_name
member_url
member_is_host
guests
response
event_id
event_title
event_url
created
updated
https://www.meetup.com/api/schema/#Event https://www.meetup.com/api/schema/#Ticket https://www.meetup.com/api/schema/#User
## Not run: rsvps <- get_event_rsvps(id = "103349942!chp") ## End(Not run)
## Not run: rsvps <- get_event_rsvps(id = "103349942!chp") ## End(Not run)
Get the events from a meetup group
get_events(urlname, ..., extra_graphql = NULL, token = meetup_token())
get_events(urlname, ..., extra_graphql = NULL, token = meetup_token())
urlname |
Character. The name of the group as indicated in the https://meetup.com url. |
... |
Should be empty. Used for parameter expansion |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
Get the current meetup members from a meetup group
get_members(urlname, ..., extra_graphql = NULL, token = meetup_token())
get_members(urlname, ..., extra_graphql = NULL, token = meetup_token())
urlname |
Character. The name of the group as indicated in the https://meetup.com url. |
... |
Should be empty. Used for parameter expansion |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
A tibble with the following columns:
id
name
member_url
photo_link
status
role
created
most_recent_visit
https://www.meetup.com/api/schema/#GroupMembership https://www.meetup.com/api/schema/#User
## Not run: members <- get_members("rladies-remote") ## End(Not run)
## Not run: members <- get_members("rladies-remote") ## End(Not run)
The pro functions only work if the querying users had a meetup pro account.
get_pro_groups(urlname, ..., extra_graphql = NULL, token = meetup_token()) get_pro_events( urlname, status = NULL, ..., extra_graphql = NULL, token = meetup_token() )
get_pro_groups(urlname, ..., extra_graphql = NULL, token = meetup_token()) get_pro_events( urlname, status = NULL, ..., extra_graphql = NULL, token = meetup_token() )
urlname |
Character. The name of the group as indicated in the https://meetup.com url. |
... |
Should be empty. Used for parameter expansion |
extra_graphql |
A graphql object. Extra objects to return |
token |
Meetup token |
status |
Which status the events should have. |
A tibble with meetup pro information
get_pro_groups
: retrieve groups in a pro network
get_pro_events
: retrieve events from a pro network
https://www.meetup.com/api/schema/#ProNetwork
## Not run: urlname <- "rladies" members <- get_pro_groups(urlname) past_events <- get_pro_events(urlname = urlname, status = "PAST") upcoming_events <- get_pro_events(urlname = urlname, status = "UPCOMING") all_events <- get_pro_events(urlname = urlname) ## End(Not run)
## Not run: urlname <- "rladies" members <- get_pro_groups(urlname) past_events <- get_pro_events(urlname = urlname, status = "PAST") upcoming_events <- get_pro_events(urlname = urlname, status = "UPCOMING") all_events <- get_pro_events(urlname = urlname) ## End(Not run)
Create your own query to the Meetup API
meetup_query(query, ..., token = meetup_token())
meetup_query(query, ..., token = meetup_token())
query |
Required query text. Test queries at: https://www.meetup.com/api/playground |
... |
Should be empty. Used for parameter expansion |
token |
Meetup token |
raw list results from the query, not tidied
## Not run: res <- meetup_query(' query($eventId: ID = "103349942!chp") { event(id: $eventId) { title description dateTime } } ') ## End(Not run)
## Not run: res <- meetup_query(' query($eventId: ID = "103349942!chp") { event(id: $eventId) { title description dateTime } } ') ## End(Not run)