fs_loop | R Documentation |
Infinite loop ensuring that the epitweetr embedded database is running (Lucene + akka-http)
fs_loop(data_dir = NA)
data_dir |
Path to the 'data directory' containing application settings, models and collected tweets.
If not provided, the system will try to reuse the existing one from last session call of |
Launches the epitweetr embedded database which is accessed via a REST API located on http://localhost:8080. You can test that the database is running by accessing http://localhost:8080/ping
the REST API provide epitweetr a way to send and retrieve data related with tweets and time series and to trigger geolocation or aggregation
The database is implemented using Apache Lucene indexes allowing epitweetr to access its data as a search engine but also as a tabular database.
health_check
called each 60 seconds on a background process to send alerts to the administrator if some epitweetr components fail.
nothing
detect_loop
search_loop
health_check
if(FALSE){
#Running the detect loop
library(epitweetr)
message('Please choose the epitweetr data directory')
setup_config(file.choose())
fs_loop()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.