
This is a code in the R language for mapping flood zones in the city of Toliara, located in southwestern Madagascar. We developed linear regression and random forest models. We also included the data needed to run the model. This data was collected in the field and from freely accessible websites.