{"action":"created","comment":{"url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/comments/85648958","pull_request_review_id":6354554,"id":85648958,"diff_hunk":"@@ -1,420 +1,207 @@\n library(liqueueR)\n-setwd(\"~/Documents/CMU/36-750StatComp/problem-bank\")\n-\n-# movies2 <- read.table(\"Data/movies.txt\", sep=\"\\t\", header=FALSE, strip.white=TRUE, comment='', quote=\"\", skip=1, col.names = c(\"weight\", \"word\"))\n-# \n-# baby.names2 <- read.csv(\"Data/baby-names.txt\")\n-# wiki2 <- read.csv(\"Data/wiktionary.txt\", quote = \"\", stringsAsFactors = FALSE)\n-# \n-# \n-# # lets just do binary search\n-# wiki <- read.csv(\"Data/wiktionary.txt\", quote = \"\", stringsAsFactors = FALSE, strip.white=TRUE)\n-# wiki <- read.table(text=as.character(wiki[, 1]), sep='\\t', colClasses = \"character\", comment='', quote=\"\", col.names = c(\"weight\", \"word\"))\n-# wiki<- wiki[order(wiki$word), ]\n-# hi <- wiki[1:10, ]\n+library(dplyr)\n+# setwd(\"~/Documents/CMU/36-750StatComp/problem-bank\")\n \n+# Autocomplete\n+# 1.  take in data, sort by name function:SplitSort\n+# 2.  find the first and last element that matches\n+#     a string using binary search function:BinarySearchBounds\n+# 3.  function Autocomplete: take the elements that match that \n+#     string and sort by weight\n+# 4.  return top k\n \n-SplitSort <- function(data.file){\n+###########\n+# 1.\n+###########\n+#' Split tab delimited file and sort alphabetically by word\n+#'\n+#' Take a vector of unique IDs from original data set and convert to binary matches for the comparisons of each entity in original dataset\n+#'\n+#' @param data.file tab delimited data file with the first column containing weights and second column containing the words\n+#' @return A data.frame with two columns, 'weight' and 'word', with the rows sorted alphabetically by 'word'\n+#' @examples\n+#' movies <- SplitSort(\"Data/movies.txt\")\n+#' baby.names <- SplitSort(\"Data/baby-names.txt\")\n+SplitSort <- function(data.file, n.rows=NULL){\n+  if(is.null(n.rows)){\n+    n.rows = -1\n+  } else{\n+    n.rows <- n.rows\n+  }\n   data.split <- read.table(data.file, sep=\"\\t\", header=FALSE, strip.white=TRUE,\n-                           comment='', quote=\"\", skip=1, col.names = c(\"weight\", \"word\"))\n+                           comment='', quote=\"\", skip=1, col.names = c(\"weight\", \"word\"),\n+                           colClasses = c(\"numeric\", \"character\"),\n+                           nrows=n.rows)\n   split.sort <- data.split[order(data.split$word), ]\n   return(split.sort)\n }\n \n-movies <- SplitSort(\"Data/movies.txt\")\n-baby.names <- SplitSort(\"Data/baby-names.txt\")\n-wiki <- SplitSort(\"Data/wiktionary.txt\")\n+#########\n+# 2.\n+#########\n+#' Binary search to find the bounds of a string\n+#'\n+#' Find where the first and last occurence of a string is within a sequence of strings\n+#'\n+#' @param test.string the string we are interested in locating within word.seq\n+#' @param word.seq the vector of strings we will search through to find test.string. This is often substr(SplitSort$word, 1, nchar(test.string)).\n+#' If we have information about where test.string might be within word.seq, we might want to set our own beginning and end spots\n+#' @param first lower bound where we want to start searching, default is 0\n+#' @param last upper bound where we want to start searching, default is  length(word.seq) - 1\n+#' first must be less than last\n+#' first must be >= 0\n+#' last must be <= length(word.seq) - 1\n+#' @param verbose if verbose = TRUE, print progress\n+#' \n+#' @return A vector of three elements, the lower bound, the upper bound, and logical indicating whether test.string was found within word.seq.\n+#' If there is only one occurence of test.string within word.seq, the lower and upper bounds will be the same\n+#' If the word is not found, the function returns the lower and upper bounds before the function stopped\n+#' \n+#' @examples\n+#' BinarySearchBounds(\"dog\", c( \"cat\", \"cat\", \"dog\",  \"pig\"))\n+#' BinarySearchBounds(\"cat\", c( \"cat\", \"cat\", \"cat\",  \"cat\"))\n+#' BinarySearchBounds(\"pig\", c( \"cat\", \"cat\", \"cat\",  \"cat\")) \n+#' BinarySearchBounds(\"cat\", c( \"cat\", \"cit\", \"dog\",  \"pig\", \"zzz\"))\n+#' BinarySearchBounds(\"zzz\", c( \"cat\", \"cit\", \"dog\",  \"pig\", \"zzz\"), verbose=TRUE)\n+BinarySearchBounds <- function(test.string, word.seq, first=NULL, last=NULL, verbose=NULL){\n \n-BinarySearchFL <- function(query, word.seq, first=NULL, last=NULL){\n-  if(is.null(last)){\n-    last <- length(word.seq)\n-  } else{\n-    last <- last\n-  }\n-  if(is.null(first)){\n-    first <- 0\n-  } else{\n-    first <- first\n+  if(is.null(verbose)) {\n+    verbose <- FALSE\n+  } else {\n+    verbose <- verbose\n   }\n   \n-  while(query < word.seq[first] <= last){\n-    mid <- round(mean(c(first, last)))\n-    \n-    if(query <= word.seq[mid]){\n-      last <- mid\n-      # need to check if there's more above\n-      while(query == word.seq[last + 1]){\n-        last <- last + 1\n-      }\n-    } else if(query >= word.seq[mid]){\n-      first <- mid\n-      # need to check if there's more above\n-      while(query == word.seq[first - 1]){\n-        first <- first - 1\n-      }\n-    }\n-    \n-    if(query == word.seq[mid]){\n-      bound <- \n-      found <- TRUE\n-    }\n+  if(!is.character(test.string)){\n+    stop(\"test.string should be of type 'character'\") \n   }\n   \n-  return(c(bound, found))\n-}\n-\n-\n-\n-BinarySearchLB <- function(query, word.seq, first=NULL, last=NULL){\n   if(is.null(last)){\n     last <- length(word.seq) - 1\n   } else{\n-    last <- last\n-  }\n-  if(is.null(first)){\n-    first <- 0\n-  } else{\n-    first <- first\n-  }\n-  \n-  while(first <= last){\n-    \n-    mid <- round(mean(c(first, last)) + .01)\n-    print(mid)\n-    \n-    if(word.seq[mid] < query){\n-      first <- mid + 1\n-    } else if (word.seq[mid] > query){\n-      last <- mid - 1\n-    } else if (first != mid){\n-      last <- mid\n-    } else{\n-      return(mid)\n+    if(last > (length(word.seq) - 1)){\n+      stop(\"last must be <= length(word.seq) - 1\") \n     }\n-    \n-  }\n-  \n-}\n-\n-\n-BinarySearchLB <- function(query, word.seq, first=NULL, last=NULL){\n-  if(is.null(last)){\n-    last <- length(word.seq) - 1\n-  } else{\n     last <- last\n   }\n   if(is.null(first)){\n     first <- 0\n   } else{\n-    first <- first\n-  }\n-  \n-  while(first <= last){\n-    \n-    mid <- round(mean(c(first, last)) + .01)\n-    print(mid)\n-    \n-    if (word.seq[mid] == query){\n-      firstoccurence <- mid\n-      last <- mid - 1\n-    } else if(word.seq[mid] < query){\n-      first <- mid + 1\n-    } else {\n-      last <- mid - 1\n+    if(first < 0){\n+      stop(\"first must be >= 0\") \n     }\n-    \n-  }\n-  \n-  return(firstoccurence)\n-}\n-\n-  \n-\n-BinarySearchLB(\"dog\", c( \"cat\", \"cat\", \"dog\",  \"pig\"))\n-\n-BinarySearchLB(\"cat\", c( \"cat\", \"cat\", \"cat\",  \"cat\"))\n-\n-\n-\n-\n-# autocomplete\n-# 1.  take in data, sort by name\n-# 2.  find the first and last element that matches\n-#     a string using binary search\n-# 3.  take elements from first to last, sort by weight\n-# 4.  return top k\n-\n-# words <- read.terms(\"wiktionary.txt\")\n-# autocomplete(\"the\", words, 5)\n-\n-\n-Autocomplete <- function(test.string, data.file, k){\n-  split.sort <- SplitSort(data.file)\n-  \n-}\n-\n-\n-\n-\n-\n-\n-\n-BinarySearchLB <- function(query, word.seq, first=NULL, last=NULL){\n-  if(is.null(last)){\n-    last <- length(word.seq) - 1\n-  } else{\n-    last <- last\n-  }\n-  if(is.null(first)){\n-    first <- 0\n-  } else{\n     first <- first\n   }\n   \n-  while(first < last){\n-    \n-    mid <- round(mean(c(first, last)) + .01)\n-    print(mid)\n-    \n-    if (word.seq[mid] == query){\n-      while(mid > 1){\n-        while(query == word.seq[mid - 1]){\n-          last <- mid - 1\n-        }\n-      }\n-    } else if(word.seq[mid] < query){\n-      first <- mid + 1\n-    } else {\n-      last <- mid - 1\n-    }\n+  if(first > last){\n+    stop(\"First must be <= last \")\n   }\n   \n-  return(mid)\n-}\n-\n-\n-\n-\n-\n-\n-\n-\n-BinarySearchLB <- function(query, word.seq, first=NULL, last=NULL){\n-  if(is.null(last)){\n-    last <- length(word.seq) - 1\n-  } else{\n-    last <- last\n-  }\n-  if(is.null(first)){\n-    first <- 0\n-  } else{\n-    first <- first\n-  }\n-  \n-  while(first <= last){\n-    mid <- floor((first + last)/2)\n-    print(mid)\n-    if (word.seq[mid] < query){\n-      first <- mid + 1\n-    } else if(word.seq[mid] > query) {\n-      last <- mid - 1\n-    }\n-  }\n-  return(mid)\n-}\n-\n-BinarySearchLB <- function(query, word.seq, first=NULL, last=NULL){\n-  if(is.null(last)){\n-    last <- length(word.seq) - 1\n-  } else{\n-    last <- last\n-  }\n-  if(is.null(first)){\n-    first <- 0\n-  } else{\n-    first <- first\n-  }\n-  \n-  mid <- floor((first + last)/2)\n-  \n-  while(word.seq[mid] != query){\n-    mid <- floor((first + last)/2)\n-    print(mid)\n-    if (word.seq[mid] < query){\n-      first <- mid + 1\n-    } else if(word.seq[mid] > query) {\n-      last <- mid - 1\n-    }\n-  }\n-  \n-  while(mid > 1){\n-    if(query != word.seq[mid - 1]) break\n-    if(query == word.seq[mid - 1]){\n-      mid <- mid - 1\n-    }\n-  }\n-  return(mid)\n-}\n-\n-\n-BinarySearchUB <- function(query, word.seq, first=NULL, last=NULL){\n-  if(is.null(last)){\n-    last <- length(word.seq) - 1\n-  } else{\n-    last <- last\n-  }\n-  if(is.null(first)){\n-    first <- 0\n-  } else{\n-    first <- first\n-  }\n+  word.seq <- as.character(word.seq)\n   \n   mid <- ceiling((first + last)/2)\n   \n-  while(word.seq[mid] != query){ # and first <= last?\n+  while(word.seq[mid] != test.string){ \n     mid <- ceiling((first + last)/2)\n-    print(mid)\n-    if (word.seq[mid] < query){\n-      first <- mid + 1\n-    } else if(word.seq[mid] > query) {\n-      last <- mid - 1\n-    } else if(first > last) stop(\"Word not found\")\n-    print(c(first, last))\n-  }\n-  \n-  while(mid < length(word.seq)){\n-    if(query != word.seq[mid + 1]) break\n-    if(query == word.seq[mid + 1]){\n-      mid <- mid + 1\n+    if(mid == 0){\n+      break\n+      if(verbose) print(\"broke because mid == 0\")","path":"frisoli-autocomplete.R","position":363,"original_position":363,"commit_id":"d8b8732912c74cca102040ee33884ef1accde634","original_commit_id":"d8b8732912c74cca102040ee33884ef1accde634","user":{"login":"tpospisi","id":8901856,"avatar_url":"https://avatars.githubusercontent.com/u/8901856?v=3","gravatar_id":"","url":"https://api.github.com/users/tpospisi","html_url":"https://github.com/tpospisi","followers_url":"https://api.github.com/users/tpospisi/followers","following_url":"https://api.github.com/users/tpospisi/following{/other_user}","gists_url":"https://api.github.com/users/tpospisi/gists{/gist_id}","starred_url":"https://api.github.com/users/tpospisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpospisi/subscriptions","organizations_url":"https://api.github.com/users/tpospisi/orgs","repos_url":"https://api.github.com/users/tpospisi/repos","events_url":"https://api.github.com/users/tpospisi/events{/privacy}","received_events_url":"https://api.github.com/users/tpospisi/received_events","type":"User","site_admin":false},"body":"This will never execute.  Also, avoid one line if statements.","created_at":"2016-10-29T21:43:38Z","updated_at":"2016-10-29T21:43:38Z","html_url":"https://github.com/kaylafrisoli/autocomplete/pull/3#discussion_r85648958","pull_request_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/comments/85648958"},"html":{"href":"https://github.com/kaylafrisoli/autocomplete/pull/3#discussion_r85648958"},"pull_request":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3","id":90933875,"html_url":"https://github.com/kaylafrisoli/autocomplete/pull/3","diff_url":"https://github.com/kaylafrisoli/autocomplete/pull/3.diff","patch_url":"https://github.com/kaylafrisoli/autocomplete/pull/3.patch","issue_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/3","number":3,"state":"open","locked":false,"title":"Class ex","user":{"login":"kaylafrisoli","id":16839990,"avatar_url":"https://avatars.githubusercontent.com/u/16839990?v=3","gravatar_id":"","url":"https://api.github.com/users/kaylafrisoli","html_url":"https://github.com/kaylafrisoli","followers_url":"https://api.github.com/users/kaylafrisoli/followers","following_url":"https://api.github.com/users/kaylafrisoli/following{/other_user}","gists_url":"https://api.github.com/users/kaylafrisoli/gists{/gist_id}","starred_url":"https://api.github.com/users/kaylafrisoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaylafrisoli/subscriptions","organizations_url":"https://api.github.com/users/kaylafrisoli/orgs","repos_url":"https://api.github.com/users/kaylafrisoli/repos","events_url":"https://api.github.com/users/kaylafrisoli/events{/privacy}","received_events_url":"https://api.github.com/users/kaylafrisoli/received_events","type":"User","site_admin":false},"body":"All of my comments are in my README so see there! The final code is in frisoli-autocomplete.R","created_at":"2016-10-26T04:15:22Z","updated_at":"2016-10-29T21:54:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da762e905c42fda07809d034de8abecc8046008f","assignee":{"login":"Planeshifter","id":1913638,"avatar_url":"https://avatars.githubusercontent.com/u/1913638?v=3","gravatar_id":"","url":"https://api.github.com/users/Planeshifter","html_url":"https://github.com/Planeshifter","followers_url":"https://api.github.com/users/Planeshifter/followers","following_url":"https://api.github.com/users/Planeshifter/following{/other_user}","gists_url":"https://api.github.com/users/Planeshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/Planeshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Planeshifter/subscriptions","organizations_url":"https://api.github.com/users/Planeshifter/orgs","repos_url":"https://api.github.com/users/Planeshifter/repos","events_url":"https://api.github.com/users/Planeshifter/events{/privacy}","received_events_url":"https://api.github.com/users/Planeshifter/received_events","type":"User","site_admin":false},"assignees":[{"login":"Planeshifter","id":1913638,"avatar_url":"https://avatars.githubusercontent.com/u/1913638?v=3","gravatar_id":"","url":"https://api.github.com/users/Planeshifter","html_url":"https://github.com/Planeshifter","followers_url":"https://api.github.com/users/Planeshifter/followers","following_url":"https://api.github.com/users/Planeshifter/following{/other_user}","gists_url":"https://api.github.com/users/Planeshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/Planeshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Planeshifter/subscriptions","organizations_url":"https://api.github.com/users/Planeshifter/orgs","repos_url":"https://api.github.com/users/Planeshifter/repos","events_url":"https://api.github.com/users/Planeshifter/events{/privacy}","received_events_url":"https://api.github.com/users/Planeshifter/received_events","type":"User","site_admin":false},{"login":"tpospisi","id":8901856,"avatar_url":"https://avatars.githubusercontent.com/u/8901856?v=3","gravatar_id":"","url":"https://api.github.com/users/tpospisi","html_url":"https://github.com/tpospisi","followers_url":"https://api.github.com/users/tpospisi/followers","following_url":"https://api.github.com/users/tpospisi/following{/other_user}","gists_url":"https://api.github.com/users/tpospisi/gists{/gist_id}","starred_url":"https://api.github.com/users/tpospisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpospisi/subscriptions","organizations_url":"https://api.github.com/users/tpospisi/orgs","repos_url":"https://api.github.com/users/tpospisi/repos","events_url":"https://api.github.com/users/tpospisi/events{/privacy}","received_events_url":"https://api.github.com/users/tpospisi/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3/commits","review_comments_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3/comments","review_comment_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/3/comments","statuses_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/statuses/d8b8732912c74cca102040ee33884ef1accde634","head":{"label":"kaylafrisoli:class-ex","ref":"class-ex","sha":"d8b8732912c74cca102040ee33884ef1accde634","user":{"login":"kaylafrisoli","id":16839990,"avatar_url":"https://avatars.githubusercontent.com/u/16839990?v=3","gravatar_id":"","url":"https://api.github.com/users/kaylafrisoli","html_url":"https://github.com/kaylafrisoli","followers_url":"https://api.github.com/users/kaylafrisoli/followers","following_url":"https://api.github.com/users/kaylafrisoli/following{/other_user}","gists_url":"https://api.github.com/users/kaylafrisoli/gists{/gist_id}","starred_url":"https://api.github.com/users/kaylafrisoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaylafrisoli/subscriptions","organizations_url":"https://api.github.com/users/kaylafrisoli/orgs","repos_url":"https://api.github.com/users/kaylafrisoli/repos","events_url":"https://api.github.com/users/kaylafrisoli/events{/privacy}","received_events_url":"https://api.github.com/users/kaylafrisoli/received_events","type":"User","site_admin":false},"repo":{"id":70634972,"name":"autocomplete","full_name":"kaylafrisoli/autocomplete","owner":{"login":"kaylafrisoli","id":16839990,"avatar_url":"https://avatars.githubusercontent.com/u/16839990?v=3","gravatar_id":"","url":"https://api.github.com/users/kaylafrisoli","html_url":"https://github.com/kaylafrisoli","followers_url":"https://api.github.com/users/kaylafrisoli/followers","following_url":"https://api.github.com/users/kaylafrisoli/following{/other_user}","gists_url":"https://api.github.com/users/kaylafrisoli/gists{/gist_id}","starred_url":"https://api.github.com/users/kaylafrisoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaylafrisoli/subscriptions","organizations_url":"https://api.github.com/users/kaylafrisoli/orgs","repos_url":"https://api.github.com/users/kaylafrisoli/repos","events_url":"https://api.github.com/users/kaylafrisoli/events{/privacy}","received_events_url":"https://api.github.com/users/kaylafrisoli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaylafrisoli/autocomplete","description":null,"fork":false,"url":"https://api.github.com/repos/kaylafrisoli/autocomplete","forks_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/forks","keys_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/teams","hooks_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/hooks","issue_events_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/events{/number}","events_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/events","assignees_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/assignees{/user}","branches_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/branches{/branch}","tags_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/tags","blobs_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/statuses/{sha}","languages_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/languages","stargazers_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/stargazers","contributors_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/contributors","subscribers_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/subscribers","subscription_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/subscription","commits_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/contents/{+path}","compare_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/merges","archive_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/downloads","issues_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues{/number}","pulls_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls{/number}","milestones_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/milestones{/number}","notifications_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/labels{/name}","releases_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/releases{/id}","deployments_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/deployments","created_at":"2016-10-11T20:59:53Z","updated_at":"2016-10-12T18:02:53Z","pushed_at":"2016-10-26T04:15:22Z","git_url":"git://github.com/kaylafrisoli/autocomplete.git","ssh_url":"git@github.com:kaylafrisoli/autocomplete.git","clone_url":"https://github.com/kaylafrisoli/autocomplete.git","svn_url":"https://github.com/kaylafrisoli/autocomplete","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kaylafrisoli:master","ref":"master","sha":"9703fc29e1aff051ef026af0ce3e2c317ea58a15","user":{"login":"kaylafrisoli","id":16839990,"avatar_url":"https://avatars.githubusercontent.com/u/16839990?v=3","gravatar_id":"","url":"https://api.github.com/users/kaylafrisoli","html_url":"https://github.com/kaylafrisoli","followers_url":"https://api.github.com/users/kaylafrisoli/followers","following_url":"https://api.github.com/users/kaylafrisoli/following{/other_user}","gists_url":"https://api.github.com/users/kaylafrisoli/gists{/gist_id}","starred_url":"https://api.github.com/users/kaylafrisoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaylafrisoli/subscriptions","organizations_url":"https://api.github.com/users/kaylafrisoli/orgs","repos_url":"https://api.github.com/users/kaylafrisoli/repos","events_url":"https://api.github.com/users/kaylafrisoli/events{/privacy}","received_events_url":"https://api.github.com/users/kaylafrisoli/received_events","type":"User","site_admin":false},"repo":{"id":70634972,"name":"autocomplete","full_name":"kaylafrisoli/autocomplete","owner":{"login":"kaylafrisoli","id":16839990,"avatar_url":"https://avatars.githubusercontent.com/u/16839990?v=3","gravatar_id":"","url":"https://api.github.com/users/kaylafrisoli","html_url":"https://github.com/kaylafrisoli","followers_url":"https://api.github.com/users/kaylafrisoli/followers","following_url":"https://api.github.com/users/kaylafrisoli/following{/other_user}","gists_url":"https://api.github.com/users/kaylafrisoli/gists{/gist_id}","starred_url":"https://api.github.com/users/kaylafrisoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaylafrisoli/subscriptions","organizations_url":"https://api.github.com/users/kaylafrisoli/orgs","repos_url":"https://api.github.com/users/kaylafrisoli/repos","events_url":"https://api.github.com/users/kaylafrisoli/events{/privacy}","received_events_url":"https://api.github.com/users/kaylafrisoli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaylafrisoli/autocomplete","description":null,"fork":false,"url":"https://api.github.com/repos/kaylafrisoli/autocomplete","forks_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/forks","keys_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/teams","hooks_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/hooks","issue_events_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/events{/number}","events_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/events","assignees_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/assignees{/user}","branches_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/branches{/branch}","tags_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/tags","blobs_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/statuses/{sha}","languages_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/languages","stargazers_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/stargazers","contributors_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/contributors","subscribers_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/subscribers","subscription_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/subscription","commits_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/contents/{+path}","compare_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/merges","archive_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/downloads","issues_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues{/number}","pulls_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls{/number}","milestones_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/milestones{/number}","notifications_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/labels{/name}","releases_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/releases{/id}","deployments_url":"https://api.github.com/repos/kaylafrisoli/autocomplete/deployments","created_at":"2016-10-11T20:59:53Z","updated_at":"2016-10-12T18:02:53Z","pushed_at":"2016-10-26T04:15:22Z","git_url":"git://github.com/kaylafrisoli/autocomplete.git","ssh_url":"git@github.com:kaylafrisoli/autocomplete.git","clone_url":"https://github.com/kaylafrisoli/autocomplete.git","svn_url":"https://github.com/kaylafrisoli/autocomplete","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3"},"html":{"href":"https://github.com/kaylafrisoli/autocomplete/pull/3"},"issue":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/3"},"comments":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/kaylafrisoli/autocomplete/statuses/d8b8732912c74cca102040ee33884ef1accde634"}}}}
{"actor":{"display_login":"tpospisi"}}