Green’s Dictionary of Slang

Yankee Doodle n.

also Yankeedoodler
[SE Yankee]

an American, spec. a New-Englander.

[Aus]T. Moore in Examiner 8 Mar. 157: I might have withheld these political noodles / From knocking their heads against hot Yankee Doodles.
[US]H.H. Brackenridge Modern Chivalry (1937) Pt II Vol. IV 648: All are called Yankees by the British; but New-England men are distinguished; and called Yankee Doodles.
[US]W. Dunlap Memoirs of a Water Drinker 14: He was a Yankee I believe [...] King of the Yankee-doodles!
[US]Manchester Spy (NH) 1 Nov. n.p.: For ’twas an honor to his race / What Yankee Doodle done.
[UK]Sportsman (London) 4 Oct. 2/1: Notes on News [...] The American-Irish bosh [...] has Yankee-doodle-Wearing-of-the-Green twang about it.
[Aus]Sydney Sportsman (Surry Hills, NSW) 16 Mar. 2/4: Oh, just the marvel of the age / Is Uncle Yankee Doodle!
[NZ]Truth (Wellington) 22 June 1/7: The Yankeedoodler [...] concluded their intelligence was of so low a standard.
[UK]A. Brazil Leader of the Lower School 74: ‘Wish you could make some [fudge] here, Yankee Doodle!’.

In derivatives

Yankeedoodledom (n.)

the world of New Englanders.

[US]Daily Morn. Astorian (Astoria, OR) 18 Mar. 1/1: The brass mounted minions of Yankeedoodledom made us a social call.