Green’s Dictionary of Slang

dopey n.1

also doper, dopye
[poss., as suggested by Partridge and Williams, a misprint for doxy n. (1) and used interchangeably by Dekker; however, note Henke, Gutter Life and Language (1988), who sees a link to SE didapper/dydapper, often abbr. as doppe/dopper, a small diving waterfowl which exhibits its hindquarters when it dives for food]

a female beggar, often a prostitute.

[UK]Dekker Belman of London C2: Another swore daggers and kniues to cut the throate of his Dopye, if hee found her tripping. [Ibid.] D3: After the Vpright-men haue deflowred them (which commonly is when they are very yong) then are they free for any of the brotherhood, and are called Dells no more, but Dopers. [...] When they haue gotten the title of Dopies, then they are common for any.
[UK]Grose Classical Dict. of the Vulgar Tongue.
[UK]Lex. Balatronicum.
[UK]Egan Grose’s Classical Dict. of the Vulgar Tongue.
[US]Matsell Vocabulum 27: dopey A thief’s mistress.