Text this: Electrical and magnetic properties of oxide-based diluted magnetic semiconductor through rare-earth doping