1. Removes EEDA/EEDAI driver prefix, if present

get_asset_ogr_table_name(x)

Arguments

x

character. Path to Google Earth Engine asset

Value

character. OGR table name of Google Earth asset

Details

  1. Replaces "-" and "/" with "_"

Examples

get_asset_ogr_table_name("projects/earthengine-public/assets/COPERNICUS/S2")
#> [1] "projects_earthengine_public_assets_COPERNICUS_S2"