{wedding} helps you to prepare and manage your wedding 👰👰 - 👰🤵 - 🤵🤵
Your wedding may be postponed several times because of the covid, but at least it will have its Shiny app.
An example of the app is available here: http://connect.thinkr.fr/wedding
Login to access the app: welcome
Password to access the app:
bigday
Password to access the tab dedicated to brides/grooms:
onlyforbride
You will find below how to run this demo app from RStudio Cloud.
- Secure access via a login and password authentication system
- Information about the wedding day (schedule, accomodation, etc.)
- RSVP feature where guests can specify their presence at the different times of the wedding, their choice for the diner menu and their diet
- Dashboard - only accessible with login and password - where bride/grooms can manage the preparations for their wedding (guests, expenses, table plan)
- Data stored in Google sheets
- Design in line with the wedding announcement (colors, fonts, etc.)
- Accueil: Home
- Confirmer ma venue: Confirm my presence
- Programme de la journée: Program of the day
- Lieu du mariage: Location of the wedding
- Hébergements: Accommodations
- Témoins: Witnesses
- Covid: Covid rules
- Espace des mariés: Groom’s area (expenses, guests, menu,
{ggplot2}
seating plan)
The application is based on two datasets stored on Google Drive. They will be updated according to the user’s navigation in the app.
- data_guests: contains information about your guests (name, attendance at the vin d’honneur, attendance at the dinner, attendance at the return on Sunday lunch, special diet, etc.).
- data_expenses: contains information about the wedding expenses (venue, caterer, groom’s outfit, wedding rings, etc.)
Structure of the datasets can be explored with:
# Install and load {wedding} package
# install.packages("remotes")
remotes::install_github("ThinkR-open/wedding")
library(wedding)
# View data_expenses
data("data_expenses_example")
data_expenses_example
# View data_guests
data("data_guests_example")
data_guests_example
Raw toy datasets can be accessed directly here:
- Save the two toy datasets (see above) in your Google Drive storage
- Acess the project stored in RStudio Cloud: https://rstudio.cloud/project/2548794
- In Git tab, check that you are in the main branch and pull the latest version of the branch
- Install
{wedding}
remotes::install_github("ThinkR-open/wedding")
- Create environment variables mandatory for the app
Sys.setenv(GOOGLE_MAIL = "wedding.r.package@gmail.com") # Replace wedding.r.package@gmail.com by your gmail adress
Sys.setenv(LOGIN_USER = "welcome")
Sys.setenv(PWD_USER = "bigday")
Sys.setenv(PWD_COUPLE = "onlyforbride")
Sys.setenv(IMG_BACKGROUND = "wedding-background-demo-compressed.jpg")
- Create and store the credentials for Google account - A popup will open, and you will be asked to write your password - This will create a token and will store it in a .secrets folder
# install.packages(c("gargle", "googledrive"))
options(gargle_oauth_cache = ".secrets")
options(gargle_quiet = FALSE)
googledrive::drive_auth(cache = ".secrets",
email = Sys.getenv("GOOGLE_MAIL"))
- Run the demo app
wedding::run_app()