sgat_day {sgat}R Documentation

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.

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

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

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

## End(Not run)


[Package sgat version 0.9 Index]