| get_OS_tile_10km | R Documentation | 
This function downloads Raster data from the DEFRA portal https://environment.data.gov.uk/DefraDataDownload/?Mode=survey. It retrieves all available data within the requested area defined by OS_10km_tile and offers some additional functionality to merge and crop the raster if desired. This function uses the get_area function to extract all requested tiles.
get_OS_tile_10km(
  OS_10km_tile,
  resolution,
  model_type,
  chrome_version = NULL,
  merge_tiles = TRUE,
  dest_folder = NULL,
  out_name = NULL,
  ras_format = "GTiff",
  headless_chrome = TRUE,
  check_selenium = TRUE
)
| OS_10km_tile | A vector of type character containing the names of the desired 5km Tiles. e.g. 'NY20' or c('NY20','NY20'). | 
| resolution | a numeric value (in meters) of either: 0.25, 0.5, 1 or 2. <1m data has generally low coverage. | 
| model_type | A character of either 'DTM' or 'DSM' referring to Digital Terrain Model and Digital Surface Model respectively. | 
| chrome_version | The chrome version that best matches your own chrome installation version. Choose from binman::list_versions("chromedriver") | 
| merge_tiles | Boolean with default TRUE. If TRUE a single raster object is returned else a list of raster is produced. | 
| dest_folder | Optional character string for output save folder. If not provided rasters will be stored in tempfile() | 
| out_name | Character required when saving merged raster to dest.folder. | 
| ras_format | Character for Raster format. Default is 'GTiff'. for available formats run terra::gdal(drivers=T) | 
| headless_chrome | Boolean with default TRUE. if FALSE chrome is run with GUI activated. | 
| check_selenium | Boolean with default TRUE. If FAlSE Rselenium will not check for updated drivers. | 
A SpatRaster (from terra) object when merge.tiles = TRUE or a list of rasters when merge.tiles = FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.