The ECR-R is a self-report questionnaire: you rate how well statements about close relationships describe you. It was introduced by R. Chris Fraley, Niels G. Waller, and Kelly A. Brennan in a 2000 paper (Fraley et al., 2000). Chris Fraley, the first author, maintains a page for the measure with the items, the scoring key, and norms.
Its predecessor, the ECR, appeared in 1998. Brennan, Clark, and Shaver pooled 323 items from the attachment questionnaires of the time and showed that two separate dimensions sit underneath them: anxiety and avoidance (Brennan et al., 1998). Two years later, Fraley and colleagues used item response theory (IRT) to reselect the items, so the scales would distinguish between people more precisely. That’s what the R stands for: revised.
The central idea behind both questionnaires is that adult attachment is a point on two axes, not a label. This was later tested directly: a taxometric analysis of two large samples concluded that adult attachment behaves like continuous dimensions rather than distinct types (Fraley et al., 2015).