San Francisco wind
This example accesses near real-time wind data using R and Python data loaders, and uses GitHub actions to automatically rebuild and deploy to GitHub pages every 2 hours.
The R and Py data loaders are redundant; this is a pedagogical example to test GH actions for both.
Data: NOAA Tides and Currents, CO-OPS API
Using data from R data loader
Data loader: docs/data/windR.csv.R
const windR = await FileAttachment("./data/windR.csv").csv({ typed: true });
Using data from Python data loader
Data loader: docs/data/windPy.csv.py
const windPy = await FileAttachment("./data/windPy.csv").csv({ typed: true });