I would like to install an electical outlet in my attic. My attic already has lights installed on the beam that runs along the peak. The wiring comes up into the attic from inside one of the walls, where the roof meets the attic floor. The attic floor is made up of boards screwed down, which I can easily remove. There are no walls in the attic, or any studs running from the floor to the roof.
I am wondering where the best place to install an outlet would be? I thought the best idea might be putting in a floor outlet. Another possibility would be to put one overhead, near where the lights are installed, facing downward.
Also, are there any special codes I might need to follow, since the temperature and moisture levels are much more extreme in an attic, and there's always a possibility of a roof leak developing that might drip into the outlet.
I mainly want to use the outlet to plug in a whole house fan that I've mounted in a hatch that leads up to the attic, and also just to have for convenience for plugging in a vacuum or tools when needed.