Posit goes paddling

Lisa Carrington

Olympic champion, 200m sprint kayak

Lisa Carrington Lisa Carrington Lisa Carrington

Unbeaten since 2012

Racing kayak

Racing kayak

Marathon racing

Orange Breede Vaal

The Duzi river marathon

120km over three days, with grade 3+ rapids

Hampton Canoe Club

Hampton Canoe Club at Bell Hill

A much more sedate affair

Sunrise on the Thames

Sunrise

Birdlife of the River Thames

Crested Grebe

Swan

Tufted Duck

Crested Grebe Swan Tufted Duck

Kingfisher

Common Kingfisher

Safety

Elements of risk when paddling

General

  • Fast flowing river
  • River closures
  • River restrictions
  • Visibility: dawn and dusk
  • Pollution

Weather

  • Air temperature
  • Wind speed
  • Water temperature

The problem

This information is in multiple places.

Finding it requires opening multiple websites.

The solution: use Posit tools

Jobs to be done

  • Discover the data
  • Develop a report
  • Deploy

Discover the data

River conditions River restrictions

https://www.gov.uk/guidance/river-thames-current-river-conditions

Develop the app

  • Use python with quarto
  • To scrape a site
    • beautifulsoup4
    • pandas
  • To retrieve data from an API
    • requests

Deploy

  • Push to version control

    git commit
    git push
  • Use github action to re-render once per day

    quarto publish paddling-report.qmd
  • Convince the club to embed using an iframe element

All the safety data in one place

Hampton Canoe Club website

Your work keeps me safe

Dragonboat racing

All in the same boat.