You're getting great advice, and good for you for getting your questions ready BEFORE bringing a baby home!!
Don't forget the potty training itself. That takes a lot of work, a lot of time, and a lot of patience for a few (several) months. Make sure you're ready for that, because a Yorkie (or any dog really) is only as well potty-trained as the effort that we put into it. But for some months of work, you'll get years of freedom!!
Good Luck!!