search: Generalized Search and Search Engine Examples

searchR Documentation

Generalized Search and Search Engine Examples

Description

Use these functions to search the web directly from your browser, building advanced queries and supplying common useful R related domains.

Query Github's internal search engine.

Query a search on rseek.org.

Query a search on the R Nabble Forum. Nabble is an innovative search engine for R messages.

Usage

search_online(s, query_url = "https://google.com/search?q=")

search_gh(
  s,
  type = "all",
  language = NULL,
  topic = NULL,
  user = NULL,
  org = NULL
)

search_rseek(s)

search_finzi(s)

search_nabble(s)

search_google(s)

search_rproject(s)

search_metacran(s)

Arguments

s

string to search for

query_url

string representing the URL to query; defaults to Google

type

what to search for, see details for options

language

optional language filter

topic

optional topic filter

user

optional user filter

org

optional org filter

Details

See https://cloud.r-project.org/search.html which showcases Google's advanced search feature to query only R-Project domain sites via the Google Search Engine.

Functions

  • search_gh():

  • search_rseek():

  • search_finzi():

  • search_nabble():

  • search_google():

  • search_rproject():

  • search_metacran():

References

Examples

# default search on google
search_online("polished.tech")

# search github (note: &ref=opensearch)
search_online("polished", "https://github.com/search?q=%s&ref=opensearch")

# search Github with language:r, org:tychobra for 'polished' (note: '%3A' represents a ':')
search_online("polished", "https://github.com/search?q=%s+language%3Ar+org%3Atychobra")
search_gh("websocket", language = "r", topic = "rshiny")

# search your org
search_gh("polished", org = "tychobra")

jimbrig2011/jimstools documentation built on Sept. 14, 2022, 1:38 a.m.