Eviction linking#61
Open
rogin123 wants to merge 7 commits into
Open
Conversation
This is a large commit with my updates to file_linkes.R. Also includes updates to processer and standardizer helper functions for data cleaning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated functions for merging eviction filings to owners. Includes updated standardized and processing functions.
Link to google slides with more explicit explanation of matching steps -https://docs.google.com/presentation/d/1werhHddc48uftsKExMC2ZbE6S7imobxMNfq0NTQ60vo/edit?usp=sharing
NOTE: When the databases were updated, I can no longer access the eviction filings and plantiff data so wasn't able to fully finish testing the code
STEP 1: Match eviction filing addresses to assessor records addresses
STEP 1A: Match on address, city, zip, or address, city
STEP 1B: For evictions that don't match directly on address, do a
spatial nearest neighbor join (defined in match_nearby_filings() helper function)
to parcel data and then try to match addresses.
STEP 2: Match eviction plantiffs to owners (STILL WIP)
STEP 2A: Direct string match of plantiff and owner name
STEP 2B: Fuzzy match plantiff and owner name
STEP 2C: For plantiffs unmatched in 2A-C, match by name within parcel.
STEP 3: Combine into one file