Over the years I have made extensive use of the excellent collection of trade directories held at the Harris Library in Preston. They offer an unbeatable guide to the social history of the town from the early 19th century onwards.
The directories are rich a source for historians, providing the raw materials for mapping the changing social geography of the town. They offer access to information that the census returns for the town cannot reach. I have transcripts for Preston directories from the beginning and end of the 19th century, and for just after the Second World War, before the planners set about remodelling the town. These can be found by following the links below, and to two articles arguing for the wider use of directories and an example of their application (they are probably a bit dated now). If any copyright holder objects to the use of the data here it will be taken down.
Update: I have now (August 2020) discovered that many of these directories have been put online at the Preston Past and Present Facebook group by Barney Smith. More are promised. Find them here.
Two separate directories for Preston were published in 1818 (Rogerson and Pigot ), extremely useful since detailed census data is not available for that period. The information they provide can be usefully projected on the Shakeshaft and Baines maps of the same period; the open source software required is listed in the Resources section. Internal evidence suggests the two directories were canvassed and prepared separately: it wasn’t the case of either stealing the other’s data.
A further directory was published in 1821 by Peter Whittle in his history of the town, followed by another in 1825 by Edward Baines. The information the four directories provide can be usefully projected on the Shakeshaft and Baines maps of the same period; the open source software required is listed in the Resources section.
A useful directory for the mid-19th century is the Mannex 1851.  This is available for loan from the Harris library.
The directory publishers Barretts supplied a comprehensive run of directories for the town from the 1880s to the 1960s. Sections of their directories for 1885 and 1952  can be found at these links:
Some years ago Leicester University began digitising English trade directories, putting them on line at its Historical Directories website. The project ended in March 2014, but the directories can still be browsed or downloaded and the data can be used under a creative commons non-commercial licence. It is a complete, well-prepared digitisation, which is searchable. It can be found, along with other directories, in the Preston History Library.