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

[feat] 광역의회 다양성 지수 계산, DB에 저장 #73

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

pingpingy1
Copy link
Contributor

metro_councilor 컬렉션에 존재하는 데이터를 기반으로 다양성 지수와 순위 등을 계산하고 DB에 저장합니다.

Copy link
Contributor

@Re-st Re-st left a comment

Choose a reason for hiding this comment

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

for councilor_type in ["elected", "candidate"]:
이거가 최근 PR에 맞게 수정되어야 합니다. 참고 commit :
즉, for is_elected in [True, False]:
가 되어야 하고,
metro인지 local인지에 따라서 councilor_type이 "local_councilor", "metro_councilor"로 갈립니다.

@pingpingy1
Copy link
Contributor Author

for councilor_type in ["elected", "candidate"]: 이거가 최근 PR에 맞게 수정되어야 합니다. 참고 commit : 즉, for is_elected in [True, False]: 가 되어야 하고, metro인지 local인지에 따라서 councilor_type이 "local_councilor", "metro_councilor"로 갈립니다.

말씀하신 대로 변경 완료했습니다!

@Re-st Re-st merged commit f09da0e into NewWays-TechForImpactKAIST:main Nov 27, 2023
1 check passed
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.

2 participants