You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of the get_trash_pickup_day function is to return the user's trash pick up day and possibly a link where they can obtain their full recycling schedule
The function will be passed the street_address and zipcode of the user
user's address will be verified prior to being passed to the function
completed code can be added here or in a file named get_waste_pickup_day
Since recycling pickup is every other week and therefore hard to summarize in a few words, we could simply add a note in the template under trash pick up day that says:
"Recycling is picked up on this day every two weeks, please visit for a full schedule."
Perhaps we could find a way to pass the correct link (city or county) based on user's address? If not, we could always just hard code the city link in the HTML as it will eventually redirect Durham County residents to the county link as needed.
Hopefully this makes sense and seems like a good approach. Other approaches are more than welcome!
Thanks for working on StreetWise!
The text was updated successfully, but these errors were encountered:
The goal of the get_trash_pickup_day function is to return the user's trash pick up day and possibly a link where they can obtain their full recycling schedule
The function will be passed the street_address and zipcode of the user
user's address will be verified prior to being passed to the function
completed code can be added here or in a file named get_waste_pickup_day
Since recycling pickup is every other week and therefore hard to summarize in a few words, we could simply add a note in the template under trash pick up day that says:
"Recycling is picked up on this day every two weeks, please visit for a full schedule."
Here are the links for the full schedules:
link for Durham city residents:
https://durhamnc.gov/3025/Find-Collection-Day-Holiday-Schedule-Cal
link for Durham country residents:
https://www.dconc.gov/government/departments-f-z/general-services/solid-waste-recycling-and-litter-control#
Perhaps we could find a way to pass the correct link (city or county) based on user's address? If not, we could always just hard code the city link in the HTML as it will eventually redirect Durham County residents to the county link as needed.
Hopefully this makes sense and seems like a good approach. Other approaches are more than welcome!
Thanks for working on StreetWise!
The text was updated successfully, but these errors were encountered: