Installing a toilet in a joist bay, so space is limited.
I would ideally use a spigot closet bend (like this: https://www.homedepot.com/p/4-in-x-...got-x-Hub-Closet-Elbow-C58072CLHD43/100343148) , cut down to level, and add a 4" hub flange.
Unfortunately, up in Canada for some reason I cannot...