This is a basic repo that will help you get set up to develop a dbt project using the tools we normally use.
- Install mise for your operating system
- Clone this repo.
- Set
$MISE_ENV="windows"locally in terminal or globally in environment variable manager if you are on Windows.
- You may also need to manually run
mise activate pwsh | Out-String | Invoke-Expression.
- Run
mise drto make sure mise is correctly setup. If you do not get "No problems found", follow the suggested actions until you do. - Run
mise installto install tools like Python, uv and duckdb. - Run
uv run main.pyand you should see "Hello from Ratio!".
- If this fails, try
uv syncormise activate pwsh | Out-String | Invoke-Expression.
- Run
dbt --versionand you should see dbt version information. - Run
mise run db:get - Run
dbt debugand you should see "All checks passed!". - Process
raw_data/fips.txtinto a CSV seed file withfips_code,jurisdictionas the header. It's OK to do this manually.
curl https://mise.run | shecho 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc- Close that terminal and open a new one
- Follow along above from the
mise drstep.
raw_data/fips.txtis from the FCC, though it takes a long time to load.- Synthea Sample Data - April 2020
- CMS Medicare Claims Synthetic Public Use Files
- You are not expected to look at the data before the interview.
- You will not need to use all of the tables in the
raw_*schemas. mainis the default schema in DuckDB.duckdb dev.duckdb -uiwill open the database both at the command line and in a browser UI.- Click "Open In Browser"

- See this post for details on the DuckDB UI.
- Click "Open In Browser"
- If you're curious about the setup steps, you can view the
misetasks in themise.tomlfile.
Note
duckdb really only allows a single connection, which can be a bit of a pain. If you have a CLI or UI session open, you will want to close it with .quit first before you run dbt build, et al.
If at any point you need help getting set up, please don't hesitate to ask! You can create an issue and tag @jc00ke on it, or send Jesse an email: jesse@ratiopbc.com.