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

Add tests and code for entitization #8

Open
james-trimarco opened this issue Feb 25, 2021 · 0 comments
Open

Add tests and code for entitization #8

james-trimarco opened this issue Feb 25, 2021 · 0 comments
Assignees

Comments

@james-trimarco
Copy link
Owner

This adds a simple algorithm that looks at every line in the input and asks: "Have I seen this person before?"

If yes, we write a new row to the employees table. Then we write a row to statuses with the employee ID from that row.

If no, we don't add anything to employees. We find the correct employee id and add a row to statuses with that id.

@james-trimarco james-trimarco self-assigned this Feb 25, 2021
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

No branches or pull requests

1 participant