sgat_day: Opens firefox, searches in Google lugar.a.buscar place on the...

Description Usage Arguments Value Examples

View source: R/sgat_day.R

Description

Opens firefox, searches in Google lugar.a.buscar place on the dia.semana weekday. Then it retrieves the "Popular Times" and geolocation information. If the search finds said information, the function returns a data.frame, if not, NULL. If you are looking the "Popular Times" information for the whole week use sgat instead.

Usage

1
sgat_day(lugar.a.buscar, dia.semana, tiempo.espera = 10)

Arguments

lugar.a.buscar

What you want to search in Google

dia.semana

Day of the week from when you want to retrieve the "Popular Times" information

tiempo.espera

Time measure of how much time you think it's sufficient given your internet connection to load a Google search page and not finding the information,

Value

dataframe with retrieved information for single weekday

Examples

1
2
3
4
5
## Not run: 
museo.miercoles <- sgat_day("museo nacional de bellas artes, buenos aires, argentina", "miercoles")
head(museo.miercoles)

## End(Not run)

sgat documentation built on Feb. 26, 2021, 9:06 a.m.