Skip to content

Commit

Permalink
Reorder innerwest_nsw_gov_au APIs to work around duplicate data (#1330)
Browse files Browse the repository at this point in the history
Reorder Inner West Council possible APIs to attempt old Leichhardt Council before attempting old Marrickville Council.

A single suburb is duplicated between the 3 lists: "Leichhardt" appears in both Leichhardt and Marrickville API endpoints. Only a single street in Leichhardt is listed by the Marrickville endpoint, and that with only a single property; this is likely bad data.

This is not a lasting fix, as it doesn't protect against future duplicates, but there are thousands of properties in "true" Leichhardt, and only one in "false" Leichhardt, so at least this reordering fixes for most people.
  • Loading branch information
thecowan authored Oct 16, 2023
1 parent e8b7b86 commit 7429a95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
# Inner West council merged 3 existing councils, but still hasn't merged their
# data so details need to be found from one of three different databases.
APIS = [
"https://marrickville.waste-info.com.au/api/v1",
"https://leichhardt.waste-info.com.au/api/v1",
"https://marrickville.waste-info.com.au/api/v1",
"https://ashfield.waste-info.com.au/api/v1",
]

Expand Down

0 comments on commit 7429a95

Please sign in to comment.