upload stata code, fixed a bunch of stuff in Dan's R studio

YAY