Skip to content

meatcar/lcbo-car-fuel

Repository files navigation

LCBO Car Fuel Index

Pull the LCBO REST API into a ~200MB sqlite database. Originally intended to be used to figure out the least expensive volume of ethanol at a specific location, but can be used to explore other interesting correlations.

Requirements

  • Linux, MacOS, or WSL under Windows.
  • nix

Usage

Open a shell with the dependencies.

$ nix-shell

Scrape api.lcbo.com into a sqlite database, as defined in .env.

$ bin/fetch all # Takes about 1hr
$ bin/tune-db

Optionally, explore the data with metabase

$ metabase

Questions

  • Most represented country, alcohol, etc by total volume, price adjusted, etc.
  • Wine vs Beer popularity
  • Geographic distributions

About

Find the most cost-effective product to fuel an ethanol car with from LCBO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published