Use meetupr
and tidyverse
to retrieve and arrange R-Ladies groups. Update find_groups()
if possible/required.
Store resulting data in CSV/JSON files.
-
Setup Travis CI for this repo to automatically build the project, install
meetupr
and supporting packages, and calldeploy.sh
-
Write bash script (
deploy.sh
) to automatically run rladies.R script and update docs/data/rladies.csv file straight from the Meetup API -
Update
find_groups()
andget_events()
inmeetupr
to retrieve optional fields likepast_event_counts
andupcoming_event_counts
and use it within R/rladies.R script) -
Submitted a pull request to rladies/meetupr repo with the changes above
-
Created a new function
get_hosts()
in R/rladies_hosts.R which depends on the newfind_groups()
andget_events()
I created.get_hosts()
retrieveevent_hosts
data from all R-Ladies events, and extracts the organizer's names (host names) and host count and with the help of Travis, stores them automatically in docs/data/rladies_hosts.csv directory in descending order.
Layout Dashboard Page for R-Ladies using HTML based template
-
Improved R/rladies.R to analyze R-ladies group data and persist analyzed data in docs/data/rladies_summary.json and docs/data/rladies_cumulative.json. The first JSON file holds summaries of numbers around R-Ladies chapters including countries, cities, number of chapters, past and upcoming events, etc. The second JSON file holds data for a cumulative count of chapters over time till date. There were no chapter creations on meetup.com between 2012 - 2016, so, data was created for this period with zero values to make the visualization resemble reality.
-
Provided a layout for the R-Ladies dashboard, with data widgets, a world map, list of the global leadership team, and a cumulative chart showing chapter growth. This is work for next week that has been front-loaded
-
A dataTable enabling the searching and sorting of all R-Ladies chapters has been added to the dashboard to make locating a R-ladies chapter even more easier. A user can search by country, or city, or chapter name, and also sort based on member count, or past event and upcoming event counts. This is also work for next week front-loaded.
-
The web page has been deployed usng Github pages and is now available here: R-Ladies dashboard
-
Added some more code to my pull request to rladies/meetupr package based on request from the authors.
Use Javascript to connect CSV/JSON data to dashboard and produce visualizations
-
Reviewed feedback from mentors.
-
Adjusted sidebar to move away from toggle icon.
-
Added a scrollable 'Global Team' list just below 'Global Leadership Team'
-
Removed echarts.js map - as it did not turn out very suitable. Recoded it into a binary map (it is yet to be decided where it would be placed or if it would be needed).
-
-
Explored and learnt about the
leaflet.js
Javascript charting library. Explored and learnt about GeoJSON data format. Explored theleafletR
R package (especially thetoGeoJSON()
function that turns a data.frame withlat
andlon
data to GeoJSON. Tried out a few examples ofleafletR
and theleaflet.js
library. Found a way using Travis to drop a.geojson
file (fromleafletR
) of the R-Ladies groups in thedocs/data/
directory of the project's repository. It gets interesting thence!
Create leaflet map using this .geoson
file. Find a map that looks quite different from the default from carto.com
-
Explore leaflet awesome markers javascript package for custom markers - marker color and icons. Add it to the project. Include custom markers on the leaflet map.
-
Update rladies_summary.json file to contain a summary of member data for each region. Create a rose chart of this data and display on the dashboard.
Prettify the Cumulative growth charts for better visual appeal.
- Update my
find_groups()
call in rladies.R to getlast_event
date for each group. Update rladies.R to process this variable into a date. Use this variable in the.geoson
feature.properties
to determine marker colors for those chapters that are inactive, unbegun and active.
Bind more information in each leaflet marker. Include calls in the marker to R-ladies community members to 'Become an organizer' for those chapters that are unbegun or inactive.
Find the new dashboard here: https://benubah.github.io/r-community-explorer/rladies.html
Mentors review, evaluate, and feedback.
-
Make correction of assigning co-founder to all global leadership team members
-
Update code to count inactive, active and unbegun groups and display same below the map.
-
Update map code to calculate 'Months Inactive' for Inactive groups based on their last date of event. Also, for Unbegun groups based on their creation date (since they have had no event).
-
Add a country chart - visualizing the number of chapters across all 47 countries.
Week 1 and 2:
-
Improved
.quick_fetch()
and.fetch_results()
functions inrladies/meetupr
packages by addingoffset
argument to each API call so as to completely retrieve all extrafields
data for records larger than 200 -
Used these improved functions to create
rugs.R
script to retrieve R User Groups from meetup.com and persist the resulting data in CSV/JSON files -
Update deploy.sh to commit these CSV/JSON files to
docs/data
directory after every Travis build -
Layout RUGS dashboard and add data-widget with data from CSV/JSON files
-
Add Leaflet map with markers and pop-ups
-
Add country chart, chart of groups across regions and pie chart of member counts across regions
-
Cumulative chart, Top groups and datatable of groups
Week 3 and 4:
Week 1:
Week 2:
Week 3:
Week 4: