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

정렬에 필요한 데이터 처리 변경 + 크롤링 정책 #38

Closed
ghilbut opened this issue Apr 2, 2020 · 1 comment · Fixed by #49
Closed

정렬에 필요한 데이터 처리 변경 + 크롤링 정책 #38

ghilbut opened this issue Apr 2, 2020 · 1 comment · Fixed by #49

Comments

@ghilbut
Copy link
Owner

ghilbut commented Apr 2, 2020

주차 가능 시간과 주차 요금은 평일과 일요일, 공휴일에 따라 달라진다.
따라서 현재 시간과 로우데이터의 관계로 매번 계산하는 것은 무리가 있다.
매일 자정 크롤링 하면서, 해당 날짜에 맞는 주차 가능 시간과 요금테이블을 만든다면,
공공데이터 포털(https://www.data.go.kr/dataset/15012690/openapi.do)을 통해 공휴일을 확인하여
적절히 대응할 수 있을 것으로 기대된다.

요금테이블은 현재 시간에서 폐장시간까지 1시간 단위로 만든다.
검색 조건에서 예상 주차시간을 설정한다.

시간-요금 테이블 시간값은 다음과 같이 한다.

  • -1: 월정액
  • 0: 일 최대요금
  • 1: 1시간 요금
  • 2: 2시간 요금
  • 3: 3시간 요금
  • 4: 4시간 요금

연관 이슈들

@ghilbut
Copy link
Owner Author

ghilbut commented Apr 4, 2020

공공데이터포털의 휴일조회 API가 정상동작하지 않는다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant