googler: googler

Description Usage Arguments Examples

View source: R/googler.R

Description

googler(): Search Google from the R console

Usage

1
2
3
googler(query, start = NULL, count = NULL, news = NULL, tld = NULL,
  lang = NULL, exact = NULL, time = NULL, site = NULL,
  unfilter = NULL)

Arguments

query

Search query.

start

Start at the Nth result.

count

Show N results–defaults to 10

news

Show results from news section.

tld

Country-specific search with top-level domain TLD, e.g., 'in' for India.

lang

Search for the language, e.g., 'fi' for Finnish.

exact

Disable automatic spelling correction. Search exact keywords.

time

Time limit search, e.g., 'h5' (5 hrs), 'd5' (5 days), 'w5' (5 weeks), 'm5' (5 months), 'y5' (5 years)

site

Search a site using Google.

unfilter

Do not omit similar results.

Examples

1
2
3
4
5
6
7
8
## Not run: 
## search google within past month
googler("rstats", time = "m1")

## search google news
googler_news("rstats")

## End(Not run)

mkearney/googler documentation built on Nov. 4, 2019, 6:59 p.m.