timothyrenner / advent-of-code-2022

With SQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2022

With DuckDB and SQL.

Setup

You need: conda and Quarto.

Once you have those set up, create the environment.

conda env create -f environment.yml

Installing DuckDB needs to be done within R, conda can't do this one for us.

install.packages("duckdb")

It'll take a while to install most likely cause it has to compile.

From there cd into the directory you want to work and fire up Quarto to render the documents.

About

With SQL