Here we publish the data used in paper "Junming Huang, Gavin Cook, and Yu Xie, Large-scale Quantitative Evidence of Media Impact on Public Opinion toward China". This dataset include estimated sentiments on The New York Times on China in eight topics from 1970 to 2019, and a time series of public attitude aggregated from surveys on China.