This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' Scrape Google Scholar search | |
#' | |
#' @description Web scrape pages with scholar Google Scholar search results of a defined term. | |
#' | |
#' @param term String representing the Google Scholar search term. May include boolean search operators (e.g., "AND"), word search operators (e.g., "intext:") and symbol search operators (e.g., quotation marks " "). | |
#' @param pages Numeric vector of integer values representing the Google Search page numbers that need to be scraped. | |
#' @param crawl_delay Numeric vector of length one representing the number of seconds for the base crawl delay. This avoids being blocked by HTTP error 429 or Captcha. | |
#' @param ... Any additional httr config to use throughout the session. Using a Proxy to not be IP flagged and blocked is advised. | |
#' | |
#' @return Data frame with scraped results of Google Scholar search using term. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function SyncKeyTimeLog(logFileName) | |
% SyncKeyTimeLog(logFileName) | |
% | |
% Logs each key press using a figure call-back. The key name and press time | |
% are both recorded, with the most recent data being displayed on the | |
% figure. | |
% | |
% INPUTS: | |
% logFileName = string = save file name (optional) | |
% |