A unique record of the British navy between 1790 and 1833 that was compiled by a sailor has emerged in the US.