Takes an ID string (e.g., "appXXXXXX", "tblXXXXXX", "wspXXXXXX", "viwXXXXXX") or a full URL and extracts the ID, determining its type.
Value
A list with components: type ("workspace", "base", "table", "view", or "record"),
id (the extracted ID), and any other parsed components.
See also
air_browse() for opening the ID in a browser.
Examples
air_resolve_id("appXXXXXX")
#> $type
#> [1] "base"
#>
#> $id
#> [1] "appXXXXXX"
#>
air_resolve_id("wspXXXXXX")
#> $type
#> [1] "workspace"
#>
#> $id
#> [1] "wspXXXXXX"
#>
air_resolve_id("https://airtable.com/appXXXXXX/tblXXXXXX/viwXXXXXX")
#> $type
#> [1] "view"
#>
#> $id
#> [1] "viwXXXXXX"
#>
#> $table_id
#> [1] "tblXXXXXX"
#>
#> $base_id
#> [1] "appXXXXXX"
#>