Code to help with the re-arranging of my life in 2024.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Craig Oates a3155c4d05 create manc-rent-listing-amounts-feb-march-2024.png file. 1 month ago
raw-data create raw-data/2024-02-18_21-48-46_right-move-manchester.json file. 2 months ago
renders create manc-rent-listing-amounts-feb-march-2024.png file. 1 month ago
working-data create 2024-03-18-prime-location-manc.csv file. 1 month ago
.gitignore change external-data/ to external/ in .gitignore file. 2 months ago
LICENSE Initial commit 2 months ago
README.org add data sources to README.org file. 2 months ago
ideal-flatmate-manchester.org fix Income Tax calculation error in ideal-flatmate-manchester.org. 2 months ago
meal-planner.org update meal-planner.org file. 2 months ago
on-the-market-manchester.org create on-the-market-manchester.org file. 2 months ago
open-rent-manchester.org create open-rent-manchester.org file. 2 months ago
prime-location-manchester.org create prime-location-manchester.org file. 1 month ago
requirements.txt create requirements.txt file for Python. 2 months ago
right-move-manchester.org add Income Tax and breakdown info. to right-move-manchester.org. 2 months ago
rightmove.py write rightmove.py script, for scraping data from Right Move site. 2 months ago
roomies-manchester.org correct Income Tax calculation error in roomies-manchester.org file. 2 months ago
spare-room-manchester.org correct Income Tax calculation error in spare-room-manchester.org. 2 months ago
summary-manchester.org update summary-manchester.org file. 1 month ago
uk-wage-tax.org create uk-wage-tax.org file. 2 months ago
zoopla-manchester.org create zoopla-manchester.org file. 1 month ago

README.org

Overhaul 2024

Code to help with the re-arranging of my life in 2024. This is a messy data science type repository, using a combination of literate programming (with org-mode) and writing scripts in various programming languages. The most notable being Bash, Python and Common Lisp (SBCL). One of the main goals with this repository is to help establish a rough estimate of how much money I need to make to live in a particular part of the United Kingdom. I'm kinda viewing it as a 'show your working out' type of thing, like my maths exercise books from school were laced with.

On a more technical note, this project is conducted from within Emacs, for the most part. It, also, assumes you have Org-Babel installed and configured within your Emacs setup. If you have no experience with Emacs, Org-Mode or Org-Babel, feel free to work with any of the data files in the raw-data/ and working-data/ directories (outside of Emacs).

Quick Note: Python Virtual Environment

On your initial cloning of the repository, you will need to set up the virtual environment for the Python code. To do that, run the following code,

  cd <INSERT OVERHAUL2024 REPO. PATH HERE>
  python3 -m venv venv
  source venv/bin/activate
  pip install -r requirements.txt
  # If you don’t intend to run any Python code from the CLI, you can deactivate
  # the virtual environment.
  deactivate

There will be code blocks within some ORG files which do this, but that stuff was entered whilst in the thick of it (initial set-up, quick test etc.) and can be ignored for the most part. The code above is just to make it easier to get going.

When working in ORG files, you will most likely see things like,

  ;; Activate at start of coding session...
  ;; Change path to where you have saved this repository.
  (pyvenv-activate "overhaul2024/venv")
  (pyvenv-mode)

This will need to execute these code blocks before executing Python code from within that ORG file. This tells Emacs where the virtual environment is for this project. Hopefully, I’ll have made it clear in each ORG file if you need to run them or not.

Data Sources [5/19]

Hopefully, I've managed to stay on top of the lists of websites I've used within this repository. Having said that, I recommend you assume this list is not exhaustive, or I’ve got around to working with that site’s data yet.