Package 'meetupr'

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-01 04:10:05 UTC
Source: https://github.com/rladies/meetupr

Help Index


Find meetup groups matching a search query

Description

Find meetup groups matching a search query

Usage

find_groups(
  query,
  ...,
  topic_category_id = NULL,
  lat = 0,
  lon = 0,
  radius = 1e+08,
  extra_graphql = NULL,
  token = meetup_token()
)

Arguments

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

Description

Get the attendees for a specified event

Usage

get_event_attendees(id, ..., extra_graphql = NULL, token = meetup_token())

Arguments

id

Required event ID

...

Should be empty. Used for parameter expansion

extra_graphql

A graphql object. Extra objects to return

token

Meetup token

Value

A tibble with the following columns:

  • id

  • name

  • url

  • photo

  • organized_group_count

References

https://www.meetup.com/api/schema/#Event https://www.meetup.com/api/schema/#Ticket https://www.meetup.com/api/schema/#User

Examples

## Not run: 
attendees <- get_event_attendees(id = "103349942!chp")

## End(Not run)

Get the comments for a specified event

Description

Get the comments for a specified event

Usage

get_event_comments(id, ..., extra_graphql = NULL, token = meetup_token())

Arguments

id

Required event ID

...

Should be empty. Used for parameter expansion

extra_graphql

A graphql object. Extra objects to return

token

Meetup token

Value

A tibble with the following columns:

  • id

  • comment

  • created

  • like_count

  • member_id

  • member_name

  • link

References

https://www.meetup.com/api/schema/#Event https://www.meetup.com/api/schema/#EventCommentConnection

Examples

## Not run: 
comments <- get_event_comments(id = "103349942!chp")

## End(Not run)

Get the RSVPs for a specified event

Description

Get the RSVPs for a specified event

Usage

get_event_rsvps(id, ..., extra_graphql = NULL, token = meetup_token())

Arguments

id

Required event ID

...

Should be empty. Used for parameter expansion

extra_graphql

A graphql object. Extra objects to return

token

Meetup token

Value

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

References

https://www.meetup.com/api/schema/#Event https://www.meetup.com/api/schema/#Ticket https://www.meetup.com/api/schema/#User

Examples

## Not run: 
rsvps <- get_event_rsvps(id = "103349942!chp")

## End(Not run)

Get the events from a meetup group

Description

Get the events from a meetup group

Usage

get_events(urlname, ..., extra_graphql = NULL, token = meetup_token())

Arguments

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

Description

Get the current meetup members from a meetup group

Usage

get_members(urlname, ..., extra_graphql = NULL, token = meetup_token())

Arguments

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

Value

A tibble with the following columns:

  • id

  • name

  • member_url

  • photo_link

  • status

  • role

  • created

  • most_recent_visit

References

https://www.meetup.com/api/schema/#GroupMembership https://www.meetup.com/api/schema/#User

Examples

## Not run: 
members <- get_members("rladies-remote")

## End(Not run)

Meetup pro functions

Description

The pro functions only work if the querying users had a meetup pro account.

Usage

get_pro_groups(urlname, ..., extra_graphql = NULL, token = meetup_token())

get_pro_events(
  urlname,
  status = NULL,
  ...,
  extra_graphql = NULL,
  token = meetup_token()
)

Arguments

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.

Value

A tibble with meetup pro information

Functions

  • get_pro_groups: retrieve groups in a pro network

  • get_pro_events: retrieve events from a pro network

References

https://www.meetup.com/api/schema/#ProNetwork

Examples

## 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)

General Meetup query

Description

Create your own query to the Meetup API

Usage

meetup_query(query, ..., token = meetup_token())

Arguments

query

Required query text. Test queries at: https://www.meetup.com/api/playground

...

Should be empty. Used for parameter expansion

token

Meetup token

Value

raw list results from the query, not tidied

Examples

## Not run: 
 res <- meetup_query('
   query($eventId: ID = "103349942!chp") {
    event(id: $eventId) {
     title
     description
     dateTime
    }
   }
')

## End(Not run)