department-for-transport-BODS / bods-data-extractor

A python client for downloading and extracting data from the UK Bus Open Data Service
Other
44 stars 8 forks source link

Feature aa 17 days of operation #37

Closed adamakram1 closed 1 year ago

adamakram1 commented 1 year ago

Relating to issue:

17

Creates a new column where the days of operation associated to a line at the service line level. (After Public use column)

image

This is done through the "extract_operating_days" function on line 1906

If the days of operation are consecutive , the days of operation are presented in a range format e.g ( Monday-Sunday)

If the days of operation are not consecutive , the days of operation are presented in a range format e.g ( Monday, Tuesday, Wednesday, Thursday, Sunday)

If there is only a singular day of operation, we are given that day only e.g (Saturday)

Issues Stop level days of operation not yet integrated

adamakram1 commented 1 year ago

Operating days are shown on the service line level. Stop level operating days need to be added.