do the spadework
Make the preliminary preparations or do the preliminary research for something. For example, The department head did all the spadework for this agreement. This expression transfers the heavy spading required to prepare for planting to other kinds of preparation. [c. 1900]
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.