RideSheet is an Open Source ride scheduling application for small, demand responsive services. It is built on Google Sheets, and uses Apps Script to provide additional functionality for autofilling addresses as well as estimated distance and mileage, moving and verifying data as part of a review-based workflow, and managing information on customers, trips, vehicles, drivers, and more. It also uses the Transactional Data Specification (TDS) to allow sharing trip requests between agencies.
RideSheet requires a copy of the spreadsheets in Google Sheets set up with the correct sheet and header names. The easiest way to do this is to copy an existing RideSheet. Use the public sample to get started. Simply make a copy of the sheet in your own local directory, and then make sure you have the latest version of the script installed.
Note that you may need to reload the sheet (simply refresh the browser) in order to see the RideSheet options in your new copy. You will know that the RideSheet scripts are loaded if you see "API" and "RideSheet" in the main options menu.
To get the latest version of the code, you can use Clasp to manage Apps Script. You can find the scriptID by opening Extensions > Apps Script and then selecting Project Settings in the lefthand menu.
git clone git@github.com:full-path/ridesheet.git
clasp setting scriptId YOUR_SCRIPT_ID
clasp push
Once you have the latest script installed, you will want to run a few basic upkeep actions to make sure everything is running smoothly.
To give Apps Script permission to run, select any option for either the API or RideSheet menu. Google will open a pop-up asking you to authorise the app. If you have made a copy of an existing sheet, it's possible that Google will decide the code is potentially unsafe. You will have to click a small link at the bottom of the pop-up that says Advanced Options (unsafe) and then give permission to continue.
In the main menu, under RideSheet > Settings, run Application Properties
. This will update the Document Properties
spreadsheet with any changes from the latest code.
Open the Document Properties
spreadsheet and fill in the values in the second column. TO-DO: Add description of each of the properties
To ensure sheets are cleaned up and incorporate the latest changes, select RideSheet > Settings > Build Metadata. After that runs, select RideSheet > Settings > Repair Sheets.
In the Document Properties
sheet, set logLevel
to verbose
This ensures that the most detailed possible errors show up in the Debug Log
sheet
Ensure all checkbox columns are set so that an empty checkbox is null, rather than False
Under Data > Data Validation in the main menu, you can see all rules for the current sheet. For any checkbox ranges, the option use custom cell values
should be selected, and unchecked should be empty