Package 'googler'

Title: Google from the R Console
Description: This is a wrapper for the command line tool 'googler', which can be found at the following URL: <https://github.com/jarun/googler>.
Authors: Michael W. Kearney [aut, cre]
Maintainer: Michael W. Kearney <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1
Built: 2025-01-29 04:07:48 UTC
Source: https://github.com/mkearney/googler

Help Index


googler

Description

googler(): Search Google from the R console

Usage

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

## Not run: 
## search google within past month
googler("rstats", time = "m1")

## search google news
googler_news("rstats")

## End(Not run)