| add_country_names | R Documentation | 
Takes a data table with lon/lat coordinates and adds a column 'country' to it, containing the name of the country, the coordinate belongs to.
add_country_names(dt, regions = EA_country_names())
dt | 
 the data table.  | 
regions | 
 Character vector of country names for which shapefiles are loaded.
By default, countries in East Africa are loaded, see   | 
The provided data table with an extra column with country names
dt = add_country_names(chirps_monthly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.