Skip to content

Commit

Permalink
comment out adding lobbyists in ingestor
Browse files Browse the repository at this point in the history
  • Loading branch information
johnofsydney committed Nov 12, 2024
1 parent f5fb134 commit cbe08a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions app/services/map_group_names.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,8 @@ def map_or_return_name(name)
# https://en.wikipedia.org/wiki/Australian_Energy_Producers
return 'Australian Energy Producers' if name.match?(/\bAPPEA\b|Australian Energy Producers/i)

# Independents

# return 'Kim for Canberra' if name.match?(/Kim for Canberra/i)
# return 'Helen Haines Campaign' if name.match?(/Helen Haines/i)

return 'Liberal Democratic Party' if name.match?(/Liberal.+Democrat/i)

return 'Shooters, Fishers and Farmers Party' if name.match?(/Shooters, Fishers and Farmers/i)
return 'Citizens Party' if name.match?(/(Citizens Party|CEC)/i)
return 'Sustainable Australia Party' if name.match?(/Sustainable Australia/i)
Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/add_records.rake
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ namespace :lester do
end

lobbyists = [
'csv_data/lobbyists_2024-11-04.csv',
'csv_data/lobyyists_2024-11-05.csv',
# 'csv_data/lobbyists_2024-11-04.csv',
# 'csv_data/lobyyists_2024-11-05.csv',
]

lobbyists.each do |file|
Expand Down

0 comments on commit cbe08a6

Please sign in to comment.