Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extract_key_from_url

Extract sheet key from a URL


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

extract_key_from_url(url)

Arguments

url

character; a URL associated with a Google Sheet

Examples

## 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)

googlesheets

Manage Google Spreadsheets from R

v0.3.0
MIT + file LICENSE
Authors
Jennifer Bryan [aut, cre], Joanna Zhao [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.