In this exercise, we will try to sample a composite image of the Landsat with the landcover feature collection that we have. The full code can be found here.
The Feature Collection has the following integer assigned for ‘landcover’ column.

0 -> urban
1 -> vegetation
2 -> water

  1. We will useĀ Landsat.simpleComposite method