kurtawirth / botscan

R tool for scanning Twitter for bot activity on a conversation level.
GNU General Public License v3.0
10 stars 6 forks source link

Delay the loading of botometer, if needed #12

Open ryantmoore opened 6 years ago

ryantmoore commented 6 years ago

We import botometer at the top of the .py Python script that is sourced within setup_botscan(). This may not be best. We might want to use reticulate::import() and delay the loading of the module.

For how to delay the loading of a module, such as botometer, see https://github.com/rstudio/reticulate/blob/master/vignettes/package.Rmd