The combination of and jsDelivr turns a specialized R dataset into a web-accessible resource. Whether you’re building a quiz (“Which player scored the fastest World Cup goal?”), a historical timeline, or a predictive model, you can now fetch the entire history of the World Cup with a single URL.
The catch? He wanted the site to be (no server‑side rendering) so it could be deployed on GitHub Pages for free. The only piece that could have broken the plan was asset delivery at scale – until he discovered jsDeliver. jsdelivr jfjelstul worldcup
| Asset | URL pattern | Reason for using jsDelivr | |-------|-------------|---------------------------| | Bootstrap CSS | https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css | Guarantees consistent styling across every continent. | | Chart.js | https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.min.js | Small bundle, auto‑updated on minor patches, no need for self‑hosting. | | Flags (SVG) | https://cdn.jsdelivr.net/gh/hjnilsson/country-flags@latest/svg/code.svg | One‑line URL, caching of each flag across all PoPs. | | Custom app bundle | https://cdn.jsdelivr.net/gh/jfjelstul/worldcup-pulse@v1.2.0/dist/app.min.js | GitHub‑repo‑backed delivery – any new tag instantly propagates to the CDN. | The combination of and jsDelivr turns a specialized
For data journalists, football analytics enthusiasts, and R programmers, the package is a goldmine. It contains every match, goal, card, and player statistic from every FIFA World Cup tournament (1930 to 2022). He wanted the site to be (no server‑side
Created by Joshua Fjelstul, this R data package is the most meticulously curated open dataset on World Cup history. It includes:
Next time you need reliable football data, skip the scraping. Just point your code to: