Pulse the onion in a food processor until finely chopped. Transfer to a large bowl. Remove metal blade from processor and put on the medium shredding attachment. Grate potatoes. Combine with onion, flour, egg, egg white and remaining 1 TB of oil. Mix well. Season to taste with the salt and pepper.