Skip to content

johnsyweb/ambassy

Folders and files

NameName
Last commit message
Last commit date
Mar 18, 2025
Nov 10, 2024
Nov 9, 2024
Oct 28, 2024
Nov 2, 2024
Nov 2, 2024
Nov 2, 2024
Oct 27, 2024
Nov 2, 2024
Oct 29, 2024
Nov 1, 2024
Mar 24, 2025
Mar 24, 2025
Nov 2, 2024
Nov 2, 2024
Nov 2, 2024

Repository files navigation

Ambassy

Introduction

This is a project written by a parkrun Regional Ambassador (RA) to save some time and effort. A Regional Ambassador is a parkrun volunteer who supports more than one Event Ambassador (EA). An Event Ambassador is a parkrun volunteer who supports more than one Event Team. An Event Team is responsible for the care and delivery of a single parkrun Event an a weekly basis. An event team is comprised of one or two Event Directors (ED) plus some Run Directors (RD) -- these are also parkrun volunteers.

parkrun has many events around the world, which are listed at http://images.parkrun.com/events.json. Event Ambassadors may also support "prospects". A prospect is an event that has not yet started and is not yet listed by parkrun.

We'll keep a table of these and their allocated Event Ambassadors in a CSV file. We'll keep a table of Event Ambassador event allocations in a separate CSV file. A third CSV file will keep a table of Regional Ambassadors and the Event Ambassadors they support. These CSV files will remain private and will be uploaded via the /upload page.

We are not concerned with all parkrun events globally, just those within the care of the Regional Ambassadors listed.

Some notes about parkrun volunteers. They each have a "home" parkrun Event (e.g. "Coburg") and a parkrun ID, which is an "A" followed by a number (e.g. "A1001388"). We'll keep these next to their names in the spreadsheet. An ED can also be an EA, but cannot support the Event Team of which they are a part.

A concept map of the entities described above

Loading
graph TD
    RA[Regional Ambassador] -->|supports| EA[Event Ambassador]
    EA -->|supports| ET[Event Team]
    ET -->|responsible for| PE[parkrun Event]
    ET -->|comprised of| ED[Event Director]
    ET -->|comprised of| RD[Run Director]
    EA -->|supports| P[Prospect]

    subgraph CSV Files
        CSV1[Table of Prospects and their allocated Event Ambassadors]
        CSV2[Table of Event Ambassador event allocations]
        CSV3[Table of Regional Ambassadors and the Event Ambassadors they support]
    end

    RA -->|listed in| CSV3
    EA -->|listed in| CSV1
    EA -->|listed in| CSV2

    subgraph parkrun Volunteers
        PV1[Home parkrun Event]
        PV2[parkrun ID]
    end

    PV1 -->|e.g.| Coburg
    PV2 -->|e.g.| A1001388
    ED -->|can also be| EA
    ED -->|cannot support| ET

What this project will do

  • Render a map, showing the locations of each of the parkrun volunteers identified and their allocations
  • Make recommendations as to which EAs are best-placed to support local events and prospects
  • Make recommendations as to which RAs are best-placed to support local EAs

How it will work

This project is written in TypeScript, has unit tests, and the map will be displayed in any modern web browser.