Electric broom or small vacuum (Worcester country club area)

I'm looking for an electric broom or a small upright vacuum for my new apartment. I need something small and good for carpets.
Please and thank you!