| Title: | Google from the R Console | 
| Version: | 0.0.1 | 
| Description: | This is a wrapper for the command line tool 'googler', which can be found at the following URL: https://github.com/jarun/googler. | 
| Encoding: | UTF-8 | 
| LazyData: | true | 
| Imports: | jsonlite, tibble, utils | 
| License: | MIT + file LICENSE | 
| RoxygenNote: | 6.1.1 | 
| URL: | https://github.com/mkearney/googler | 
| BugReports: | https://github.com/mkearney/googler/issues | 
| Suggests: | testthat (≥ 2.1.0) | 
| NeedsCompilation: | no | 
| Packaged: | 2019-09-03 15:30:25 UTC; kmw | 
| Author: | Michael W. Kearney | 
| Maintainer: | Michael W. Kearney <kearneymw@missouri.edu> | 
| Repository: | CRAN | 
| Date/Publication: | 2019-09-04 09:40:06 UTC | 
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)
googler_
Description
googler_(): Internal version of googler that returns stdout
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. |