Skip to content

qw924/ODSC

 
 

Repository files navigation

ODSC

Scripts & Data Files for Ted Kwartler's ODSC 2018 Text Mining Workshop

Workshop Requirements

Package Installations

WARNING: This will take a lot of time to install!! It can take more than an hr to install, if some of the installs fail you will likely need to investigate each individual package installation for issues (e.g. rJava is needed for qdap)

# Get CRAN packages
libs<-c('stringi', #1_Keyword_Scanning.R
        'tm', #2_Cleaning and Frequency Count.R
        'qdap', #3_Dendrogram.R
        'ggplot2', 
        'ggthemes',
        'dendextend',
        'wordcloud', #4_Simple_Wordcloud.R & #5_Other_Wordclouds.R
        'RColorBrewer',
        'tidytext', #6_TidyText_Sentiment.R
        'treemap', #7_Topic_Modeling_Sentiment.R
        'portfolio',
        'GuardianR',
        'lda', #previous ODSC workshops used library(topicmodels)
        'LDAvis',
        'dplyr',
        'servr',
        'SnowballC',
        'openNLP', #8_Open_Langugage_Processingv3.R
        'jsonlite', #instruction_newsAPI.R
        'pbapply',
        'wordcloud2', #instruction_htmlWidgets.R
        'rbokeh',
        'radarchart',
        'stringr',
        'flexdashboard', #blank_dashboard.Rmd
        'rmarkdown', #cronJob.R
        'httr')

# Get most of the libs
install.packages(libs)

# Problems with install qdap which requires rJava may be fixed with
# https://github.com/hannarud/r-best-practices/wiki/Installing-RJava-(Ubuntu)

# WINDOWS Scheduler
install.packages('taskscheduleR')

# LINUX Scheduler
install.packages('cronR')

# Get a NLP Model for use w/openNLP
install.packages('openNLPmodels.en', 
                 repos = "http://datacube.wu.ac.at/", 
                 type = "source")

About

ODSC Text Mining Workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 97.7%
  • R 2.3%