Skip to content

Commit

Permalink
Include multi-sales and fix column ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsnow committed Feb 9, 2024
1 parent e4a4868 commit 8218098
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pipeline/00-ingest.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ training_data <- dbGetQuery(
AND NOT sale.sale_filter_same_sale_within_365
AND NOT sale.sale_filter_less_than_10k
AND NOT sale.sale_filter_deed_type
AND NOT sale.is_multisale
AND Year(sale.sale_date) >= {params$input$min_sale_year}
AND sale.num_parcels_sale <= 2
")
Expand Down Expand Up @@ -323,7 +322,7 @@ assessment_data_clean <- assessment_data %>%
select(-any_of(c("time_interval"))) %>%
relocate(starts_with("sv_"), .after = everything()) %>%
relocate("year", .after = everything()) %>%
relocate(starts_with("meta_sale_"), .after = hie_num_expired) %>%
relocate(starts_with("meta_sale_"), .before = loc_property_address) %>%
as_tibble()


Expand Down

0 comments on commit 8218098

Please sign in to comment.