Snippets: Creating a FOIA
This is a super simple shell script that takes boilerplate FOIA language and creates a markdown file that can be addressed to a particular agency.
You will still have to add the address, city, state and zip code of the agency, and the type of data being requested, but this is a step up from having a file that I copy and paste from.
The script takes a filename as an argument. That filename will have the date prepended to it so you can see at a glance which were sent out when.
Drop the script in your $HOME directory or in a scripts directory if you have one.
I created an alias in my .bashrc pointing to the script:
alias foia='cd ~/Programming/2kpcc/data-projects/1_foia_letters && ~/Programming/1personal/9shell-scripts/foia-generator.sh'
To run, I open a terminal and type foia name-of-data-being-requested
I tried converting this concept to a webform, and I think it might work a bit better. I plan on abstracting it out a bit further so it's useful to more people.