Cook rice according to directions (1 part rice, 2 parts water, covered on med-low for about 20 minutes or so)
Peel and shred the sweet potato and mix with the onion in a bowl. Add salt and let sit for at least 5 minutes so the salt draws out the moisture from the veggies.
Add the rice.
Stir in the flour slowly until the mixture becomes a good dough consistency.
Heat a pan to medium and add enough oil to coat the patties (usually about a tsp per batch). Form the mixture into golf ball size patties for appetizers or burger size patties for meal portions.
Cook for about 5 minutes, flip and cook another 5 minutes or until both sides are a light golden brown.
Set on a paper towel to absorb the excess oil before serving.