/uk-lvt

Land value tax simulation in the UK

Primary LanguageJupyter NotebookMIT LicenseMIT

UBI Center analysis template

Template for UBI Center analyses, including Jupyter-Book and GitHub Action files.

Instructions:

  • Replace reponame with the name of the repo in environment.yml, jb/_config.yml, and the files in .github/workflows/*.
  • Add data generation .py script and data files to jb/data folder. Store files in .csv.gz format and load them as local files in analysis notebooks.
  • Add all necessary packages to environment.yml.
  • Use pull requests to make changes; the workflows will trigger and alert you of any errors.
  • In all three GitHub Actions (YAML files in .github/workflows/), replace the if: github.repository == [account/repo] lines with the account and repo of this GitHub repository.

Website integration

In website/, there are two file:

  • post.ipynb should contain all the content, including graphs, tables and markdown, of the website post.
  • metadata.yml should contain the post metadata, including authorship, title, cover image and other fields.

On pushing changes to the repo, a fork of the ubicenter.org repo will be updated with the new post, under the branch with the same name as this repo. From there, a PR should be filed from the source repo ubicenter-post-bot/repo-name to ubicenter/master.