Accesses the white house api and writes data to a csv