sgat {sgat}R Documentation

Iteration over sgat_day on every day of the week and finally save the retrieved data as a csv file. If you are looking for the "Popular Times" information for a single weekday use sgat_day instead.

Description

Iteration over sgat_day on every day of the week and finally save the retrieved data as a csv file. If you are looking for the "Popular Times" information for a single weekday use sgat_day instead.

Usage

sgat(lugar.a.buscar, tiempo.espera = 10, carpeta.guardado = NULL)

Arguments

lugar.a.buscar

What you want to search in Google

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,

carpeta.guardado

Name of the directory where the csv files will be saved. If the directory doesn't exist, it will be created automatically.

Value

Data frame with retrieved information for all weekdays

Examples

## Not run: 
museo <- sgat(lugar.a.buscar = "museo nacional de bellas artes, buenos aires, argentina")
head(museo)

## End(Not run)

[Package sgat version 0.9 Index]