From Beijing, it takes 6 hours by train to Anyang - the northernmost city of Henan Province. The trip can be cut short into 3 hours if one takes the fast train or dongche.
To get to Yin Xu from the railway station, one can take bus 28 to Jian Hang (Construction Bank of China) and switch to bus 18 to Yin Xu Park (Yin Xu Bowuyuan).
This is an amazing site for those studying Chinese language - particularly Chinese characters. I have always been fascinated by how they have evolved and seeing the oracle bones museum in the Ancestral Shrines area was such an unforgettable experience for me.