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

warn if a column (not a key) is present in more than one table #174

Open
ashleyasmus opened this issue Jul 16, 2024 · 0 comments
Open

warn if a column (not a key) is present in more than one table #174

ashleyasmus opened this issue Jul 16, 2024 · 0 comments

Comments

@ashleyasmus
Copy link
Collaborator

I ran into this issue recently where participation_group was repeated in hh, person, day, trip and vehicle tables.

It really confused hts_summary -- it ended up choosing the lowest-grain table (trip) for summaries, so I ended up with wackadoo counts of each participation group level.

We should make sure that the tables fed to hts_data follow database design principles: unless a key column (IDs), no column should be repeated across tables.

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