This is a R based shiny app for personal google search analysis over the years
It has two parts, one just the script and the other trying to convert the same into a shiny(R) app.
To run the app you need to download your google search history. For this you'll have to:
-
Visit website--- https://takeout.google.com/settings/takeout?pli=1
-
Select none (unless you want to download other data)
-
Go to My Activity
-
Select specific activity data
-
Select Search
-
Next and download the Archive
-
Extract the Archive
-
Remember the location of the extracted archive
Then run app.R in Rstudio and upload the search archive file named (My Activity.html) (NOT index.html)
Enjoy the insights :)
(If you are new to R/Rstudio, please install all the libraries using the command install.packages("packagename")
(If you are using just R and not Rstudio, you'll need to run the following commands in R console :
require(shiny)
folder_address = 'C://Users//User 1//Documents//test_app'
runApp(folder_address, launch.browser=TRUE)
If you are using Linux and want to launch the app from terminal (not R console) then:
Rscript -e 'library(methods); shiny::runApp("shinyapp/", launch.browser=TRUE)'
)
Hope you enjoy the app!