KorelasiDataInsights / southern_dallas_progress

0 stars 1 forks source link

Vacant Lots Phase 1: Task 3 -- Intermediate Calculations #5

Open korelasidata opened 1 year ago

korelasidata commented 1 year ago

DFW Vacant Lots summary report project: click here

Task: Answer each of the 34 pre-specified questions.

Here are the questions:

  1. How many vacant lots are in each council district?

    1. How long have the vacant lots in each council district been vacant? <-- Compute the min, median, mean, and max
    2. How many vacant lots in each council district are zoned single family residential, commercial and multifamily? <-- rows are council districts; columns are counts within each of the 3 zoning types

  2. How many vacant structures are in each council district?

    1. How long have the vacant structures in each council district been vacant? (see question 2)
    2. How many vacant structures in each council district are zoned single family residential, commercial and multifamily? (see question 3)

  3. How many vacant lots are in each zip code?

    1. How long have the vacant lots in each zip code been vacant? <-- We don't have this data yet, but we can work on this when it becomes available
    2. How many vacant lots in each zip code are zoned single family residential, commercial and multifamily? <-- rows are zip codes; columns are counts within each of the 3 zoning types

  4. How many vacant structures are in each zip code?

    1. How long have the vacant structures in each zip code been vacant? (see question 8)
    2. How many vacant structures in each zip code are zoned single family residential, commercial and multifamily? (see question 9)

      In the following questions, total = sum and average = mean. Compute with NAs ignored.

  5. What is the total amount of back taxes owed on vacant land in each City Council District?

  6. What is the total amount of back taxes owed on vacant land in each zip code?

  7. What is the total amount of back taxes owed on vacant structures in each City Council District?

  8. What is the total amount of back taxes owed on vacant structures in each zip code?

  9. What is the average age of residential properties in each council district?

  10. What is the average age of residential properties in each zip code?

  11. What is the average size of residential properties in each council district?

  12. What is the average size of residential properties in each zip code?

  13. What is the average age of commercial properties in each council district?

  14. What is the average age of commercial properties in each zip code?

  15. What is the total amount of city liens owed on vacant land in each City Council District?

  16. What is the total amount of city liens owed on vacant land in each zip code?

  17. What is the total amount of city liens owed on vacant structures in each City Council District?

  18. How many properties are in the name of heirship in the City of Dallas?

    1. How many properties in the name of heirship in the City of Dallas are vacant in each zip code?
    2. How many properties in the name of heirship in the City of Dallas are vacant in each council district?

  19. How many private owners have five or more vacant properties in the City of Dallas?

    1. How many private owners with five or more vacant properties in the City of Dallas are in each zip code?
    2. How many private owners with five or more vacant properties in the City of Dallas are in each council district?

  20. How many churches own vacant properties in the City of Dallas?

    1. How many churches owned vacant properties in the City of Dallas are in each zip code?
    2. How many are in each council district

Deliverable(s):

For example, here's how you would populate the results for the first question.

results["How many vacant lots are in each council district?"] = {
    'question_number': 1,
    'value': vacant_lots_counts_by_district 
}

where vacant_lots_by_district is a pandas dataframe that computes counts of the numbers of vacant lots in each council district.

korelasidata commented 1 year ago

@obafemiL