Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop a table for tax year assessment value distributions #4

Open
1 task
mjumbewu opened this issue Mar 27, 2024 · 0 comments
Open
1 task

Develop a table for tax year assessment value distributions #4

mjumbewu opened this issue Mar 27, 2024 · 0 comments

Comments

@mjumbewu
Copy link
Contributor

Dynamically populate (i.e. CREATE OR REPLACE) a table named derived.tax_year_assessment_bins. Imagine that the data in this table informs a distribution of the assessed values. The values should be divided into bins of some consistent widths either on a linear or logarithmic scale, and the number of properties with assessed values in each bin should be counted up. For example, it could look something like this:

Image

The table should have the following columns:

  • tax_year -- The year for which the tax assessment value applies
  • lower_bound -- The minimum assessed value cutoff in the histogram bin
  • upper_bound -- The maximum assessed value cutoff in the histogram bin
  • property_count -- The number of properties that fall between that min and max value

Use the source.opa_assessments table to build this table.

Acceptance criteria:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants