Automated data archival and analysis of R-Ladies chapters and events from Meetup.com. This repository maintains a historical record of R-Ladies community activities and generates analytical reports to support chapter management and community growth.
View all reports in the reports directory:
- Chapter Health Report - Monitors chapter activity, engagement metrics, and identifies chapters needing support
- New Chapter Guide - Guidelines and insights for starting and growing new R-Ladies chapters
- Geographic Analysis - Geographic distribution and regional patterns of chapters worldwide
- Event Analytics - Comprehensive analysis of events including attendance, frequency, and trends over time
- Topic Analysis - Analysis of event topics, themes, and content areas covered by chapters
- Quarterly Summary - Quarterly overview of community activities and key metrics
- Funder Report - Summary report for funders and stakeholders highlighting community impact
The repository uses GitHub Actions to automatically archive Meetup data every 12 hours:
- Chapter Data (
scripts/get_chapters.R) - Fetches current information about all R-Ladies chapters - Event Data (
scripts/get_events.R) - Retrieves event details including dates, attendance, and topics - Storage - Data is saved as JSON in the
data/directory and committed to the repository
Reports are generated using Quarto and support multiple output formats:
- HTML (primary format for web viewing)
- PDF (for distribution)
- Markdown (for Hugo static sites, intended for R-Ladies Global website integration)
- R (≥ 4.0)
- Quarto
- Meetup API credentials (for data collection)
- Clone the repository:
git clone https://github.com/rladies/meetup_archive.git
cd meetup_archive- Restore R package dependencies:
# For data archiving
renv::activate(profile = "archive")
renv::restore()
# For report generation
renv::activate(profile = "reports")
renv::restore()# Activate archive profile
renv::activate(profile = "archive")
# Fetch chapter data
source("scripts/get_chapters.R")
# Fetch event data
source("scripts/get_events.R")
# Or run complete pipeline
source("scripts/archive_all.R")# Activate reports profile
RENV_PROFILE="reports"
# Render all reports
quarto render reports/
# Render specific report
quarto render reports/chapter-health.qmdData collection requires Meetup API authentication via the meetupr package.
For local development:
# Interactive OAuth flow
meetupr::meetup_auth()For GitHub Actions, set the following secrets:
"meetupr:token"- Encrypted OAuth token"meetupr:token_file"- Token file content
The project uses renv with two separate profiles:
archiveprofile - Packages for data collection (meetupr,httr2,jsonlite, etc.)reportsprofile - Packages for analysis and visualization (dplyr,ggplot2,knitr, etc.)
Contributions are welcome! This repository supports the R-Ladies Global community.
To contribute:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
For questions or suggestions, please open an issue.