Skip to content

Commit

Permalink
Use correct folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Sep 17, 2024
1 parent d127581 commit 433757e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
**/*.csv
**/*.zip
**/*.pkl
**/*.tab
!uprating_factors.csv
!uprating_growth_factors.csv
!incomes.csv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def extract_zipped_folder(folder):
]

for file in FILES:
if (FOLDER / file).exists():
continue
download(
"PolicyEngine",
"ukda",
Expand Down
2 changes: 1 addition & 1 deletion policyengine_uk_data/utils/imputations/consumption.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import yaml
from policyengine_uk_data.storage import STORAGE_FOLDER

LCFS_TAB_FOLDER = Path("/Users/nikhilwoodruff/Downloads/UKDA-9123-tab/tab")
LCFS_TAB_FOLDER = STORAGE_FOLDER / "lcfs_2021_22"

REGIONS = {
1: "NORTH_EAST",
Expand Down
2 changes: 1 addition & 1 deletion policyengine_uk_data/utils/imputations/income.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
from policyengine_uk_data.storage import STORAGE_FOLDER

SPI_TAB_FOLDER = Path("/Users/nikhilwoodruff/Downloads/UKDA-9121-tab/tab")
SPI_TAB_FOLDER = STORAGE_FOLDER / "spi_2020_21"
SPI_RENAMES = dict(
private_pension_income="PENSION",
self_employment_income="PROFITS",
Expand Down
2 changes: 1 addition & 1 deletion policyengine_uk_data/utils/imputations/vat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
from policyengine_uk_data.storage import STORAGE_FOLDER

ETB_TAB_FOLDER = Path("/Users/nikhilwoodruff/Downloads/UKDA-8856-tab/tab")
ETB_TAB_FOLDER = STORAGE_FOLDER / "etb_1977_21"

CONSUMPTION_PCT_REDUCED_RATE = 0.03 # From OBR's VAT page
CURRENT_VAT_RATE = 0.2
Expand Down
2 changes: 1 addition & 1 deletion policyengine_uk_data/utils/imputations/wealth.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import yaml
from policyengine_uk_data.storage import STORAGE_FOLDER

WAS_TAB_FOLDER = Path("/Users/nikhilwoodruff/Downloads/UKDA-7215-tab/tab")
WAS_TAB_FOLDER = STORAGE_FOLDER / "was_2006_20"

REGIONS = {
1: "NORTH_EAST",
Expand Down

0 comments on commit 433757e

Please sign in to comment.