googler {googler} | R Documentation |
googler
Description
Searches Google and returns information about the results.
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. |
Value
A tibble data frame where each row represents one search result and columns contain information about each result–i.e., abstract, phrase matching, title, and URL.
Examples
## Not run:
## search google within past month
googler("rstats", time = "m1")
## search google news
googler_news("rstats")
## End(Not run)
[Package googler version 0.0.1 Index]