google_url: Create a Google Search Url

Description Usage Arguments Details Value Examples

View source: R/google_url.R

Description

enter a search term to generate a url to search google. Use with goog

Usage

1
google_url(search_term, domain = ".co.uk", quotes = TRUE)

Arguments

search_term

A search query

domain

default is .co.uk. Change to your local service as needed

quotes

whether the search should be quoted or not (default is TRU)

Details

from this SO question. http://stackoverflow.com/questions/32889136/how-to-get-google-search-results

Value

a URL

Examples

1
2
## Not run: google_url(pizza)
google_url("pizza")

poldham/oldhammisc documentation built on May 25, 2019, 11:23 a.m.