Git Product home page Git Product logo

meetupr's Introduction

meetupr

Build Status

R interface to the Meetup API (v3)

Authors: Gabriela de Queiroz, Erin LeDell, Olga Mierzwa-Sulima, Lucy D'Agostino McGowan, Claudia Vitolo
License: MIT

Installation

To install the development version from GitHub:

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

A released version will be on CRAN soon.

Usage

To use this package, you will first need to get your meetup API key. To do so, go to this link: https://secure.meetup.com/meetup_api/key/

Once you have your key, save it as an environment variable by running the following:

Sys.setenv(MEETUP_KEY = "PASTE YOUR MEETUP KEY HERE")

If you don't want to save it here, you can input it in each function using the api_key parameter (just be sure not to send any documents with your key to GitHub ๐Ÿ™Š).

We currently have the following functions:

  • get_members()
  • get_boards()
  • get_events()
  • get_event_attendees()
  • get_event_comments()
  • get_event_rsvps()
  • find_groups()

Each will output a tibble with information extracted into from the API as well as a list-col named *_resource with all API output. For example, the following code will get all upcoming events for the RLadies Nashville meetup.

library(meetupr)

urlname <- "rladies-nashville"
(events <- get_events(urlname))
#> # A tibble: 2 x 5
#>          id                    name yes_rsvp_count                time
#>       <chr>                   <chr>          <int>              <dttm>
#> 1 243331077   Introduction to purrr             11 2017-11-14 00:00:00
#> 2 243331084 TBA with Laurie Samuels              5 2017-12-01 18:00:00
#> # ... with 1 more variables: resource <list>

How can you contribute?

Take a look at some resources:

In order to run our tests, you will have to set the urlname for meetup you belong to as an environment variable using the following code:

Sys.setenv(MEETUP_NAME = "YOUR MEETUP NAME")

TO DO:

  • add tests

meetupr's People

Contributors

brooklynbagel avatar cvitolo avatar econimicurtis avatar gdequeiroz avatar hfrick avatar ledell avatar lucymcgowan avatar olgamie avatar rickpack avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.