Add a rake task to generate a CSV of Local Transactions
user
```ruby
desc "Export Local Transactions' slugs, names, LGSL and optional LGIL codes as CSV"

task :export_local_transactions => :environment do
  require "csv"

  csv_string = CSV.generate do |csv|
    csv << ["slug","lgsl","lgil","title"]

    Edition.where(_type: "LocalTransactionEdition").each do |lte|
      csv << [lte.slug,lte.lgsl_code,lte.lgil_override,lte.title]
    end
  end

  puts csv_string
end
```
assistant