It can be daunting at 20 novels and while based on true event, it is somewhat fictionalized. But nothing beats the Patrick O'Brian Aubrey-Maturin novels.
Not exactly the Cook time frame, starting about 20 years after his death.
Set in the Napoleonic wars on Royal Navy warships they deal with the political,social, economic, and scientific world of the time.
Very well done and very accurate.
you might need the book "A Sea of Words". It explains many of the terms used in the books.
Don't let the Movie "Master and Commander" sway your opinion of the series. The Movie, while excellent, draws on story elements from 5 of the books but is a stand alone story.
https://en.wikipedia.org/wiki/Aubrey%E2%80%93Maturin_series