extract_key_from_url: Extract sheet key from a URL

Description Usage Arguments Examples

View source: R/utils.R

Description

Extract a sheet's unique key from a wide variety of URLs, i.e. a browser URL for both old and new Sheets, the "worksheets feed", and other links returned by the Sheets API.

Usage

1

Arguments

url

character; a URL associated with a Google Sheet

Examples

1
2
3
4
5
6
7
## Not run: 
GAP_URL <- gs_gap_url()
GAP_KEY <- extract_key_from_url(GAP_URL)
gap_ss <- gs_key(GAP_KEY)
gap_ss

## End(Not run)

jennybc/googlesheets documentation built on Feb. 8, 2022, 11:48 p.m.