Skip to content

(City,Zip) pair Match #29

Open
zmousavi wants to merge 2 commits into
DataKind-DC:masterfrom
zmousavi:master
Open

(City,Zip) pair Match #29
zmousavi wants to merge 2 commits into
DataKind-DC:masterfrom
zmousavi:master

Conversation

@zmousavi
Copy link
Copy Markdown

Checked whether the Zip entry is a valid Zipcode for the City entered.

Copy link
Copy Markdown

@kathyxiong kathyxiong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 165 I am getting this warning message:

Warning message: In adbs$ImputedState[(adbs$ImputedState == "XX" & !is.na(adbs$Zip))] = imputed_states : number of items to replace is not a multiple of replacement length

adbs$ImputedState[(adbs$ImputedState == "XX" & !is.na(adbs$Zip))] has a length of 44 and imputed_states has a length of 25.

Rest of the code looks good, but we might want to look into this^ issue before merging.

@kbmorales
Copy link
Copy Markdown

@zmousavi any update on this PR? I'd love to incorporate this into the main functionality if possible.

@zmousavi
Copy link
Copy Markdown
Author

@kathyxiong I don't see the warning on my end.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants