I have a dataframe in R of the following form:
City Province Poupulation
1 Bandung JABAR 500,000
2 Surabaya JATIM 600,000
3 Malang JATIM 350,000
4 Bogor JABAR 400,000
5 Semarang JATENG 550,000
6 Cirebon JABAR 300,000
7 Madiun JATIM 200,000
8 Solo JATENG 275,000
9 Tegal JATENG 290,000
What is the necessary code to compute the overall population from city in JATENG province only?