Order of operations
-
This script combines boundary data from 2 seperate data sets (town and city) and (villages) Combined the data set has all three. The main purpose is to match NY SWIS codes to Census FIPS Codes This Script outputs NYS_Tax_rates_Levy_Roll21.csv which contains data on tax rates throughout the state, which is used for the next script Parcel_tax_Merge_func.py
INPUT:
-
NYS_Civil_Boundaries_TOWN_CITY.csv: Source
-
NYS_Civil_Boundaries_VILLAGES.csv: Civil boundary data from NYS GIS: Source
-
Real_Property_Tax_Rates_Levy_Data_By_Municipality__Beginning_2004.csv: Historical Tax rate data for NYS Source
OUTPUT:
NYS_Tax_rates_Levy_Roll21.csv - Tax rates for 2021, With SWIS and FIPS codes
VARIABLES:
Year of tax rates (default 2021)
-
-
Run after Boundaries_merge.py
This script runs a function which retrieves information from the Census API based on desired geographic regions within NY.
Please note that the user-specific Census API key was removed from the script: census_api. A new code will need to be added for it to function.
INPUT:
Data received from census API Request
OUTPUT:
Census information is exported to Output/Census/... to be used in later scripts. Naming based on geographic area of census
VARIABLES:
retrieve_census(for_clause, title) choose the geographic location desired in the census, and the title you want to be attached to the outputs.
Useful Links
-
This should be run after Boundaries_Merge and census_api This script imports tax rate data from the previous script, and parcel data from assessment rolls. The Script cleans the data, subsets to a given year and property class, and merges the parcel data with the tax rate data to calculate the amount of taxes paid on each parcel. The script outputs 3 graphs per region of interest, and an excel file summarizing the findings.
INPUT:
-
NYS_Tax_rates_Levy_Roll21.csv (From Boundaries_Merge.py)
-
Property_Assessment_Data_from_Local_Assessment_Rolls_931_980_940_932_990.csv: Assessment rolls from NYS Source
-
Census data (From Census_api), ex: Census/County_Census.xlsx
OUTPUT:
{taxcode}_{prefix}_parcel_tax.xlsx - Summary of state tax expenditure by locality.
VARIABLES:
- Property class
- Tax year
Hedonic Analysis Inputs https://drive.google.com/drive/u/1/folders/1L8UAh_Wk8CmldDZbjkQG0p5GPbFtZ3Hq
-
-
This script merges together three other primary data sets: sales, Centroids, and tax information. The output is the centroids data set with sales associated to applicable parcels, and tax data applied to ADK localities. This output was designed specifically to conduct the hedonic analysis
INPUT:
-
merged_adk_counties_10k.csv (From Read_estate_sales.py): Sales data for ADK parcels, sold for over 10k.
-
Centroid_parcels_data.zip: Parcel centroid data for NYS
-
{taxcode}_{prefix}_parcel_tax.xlsx (From Parcel_Tax_Merge.py): Data on tax received for each locality in either ADK or CAT
OUTPUT:
{taxcode}_{prefix}_Hedonic_ana_sct.csv: Output for Hedonic analysis
VARIABLES:
Pclass: Specify property code desired Prefix: Specify prefix if imported and exported data
-
Village Calculations.py - This script analyzes parcel data in a similar way to parcel_tax_merge, however for villages only. This script should be run after the first 3 scripts and generates summary tables in the Outputs folder.
Hedonic Analysis scripts (folder) - these scripts were used to conduct the hedonic analysis, and may be useful for future work on this topic or replication of the analysis.