Each state's attorney shall inquire into and make a full examination of all the facts and circumstances of every case where an offender is committed to jail or released on bail. Source: SL 1895, ch 64 , § 6; RCCrimP 1903, § 210; RC 1919, § 4706; SDC 1939 & Supp 1960, § 34.1504; SDCL, § 23-20-8; SL 1978, ch 164 , § 8.