save_config {epitweetr}R Documentation

Save the configuration changes

Description

Permanently saves configuration changes to the data folder (excluding Twitter credentials, but not SMTP credentials)

Usage

save_config(data_dir = conf$data_dir, properties = TRUE, topics = TRUE)

Arguments

data_dir

Path to a directory to save configuration settings, Default: conf$data_dir

properties

Whether to save the general properties to the properties.json file, default: TRUE

topics

Whether to save topic download plans to the topics.json file, default: TRUE

Details

Permanently saves configuration changes to the data folder (excluding Twitter credentials, but not SMTP credentials) to save Twitter credentials please use set_twitter_app_auth

Value

Nothing

See Also

setup_config set_twitter_app_auth

Examples

if(FALSE){
   library(epitweetr)
   #load configuration
   message('Please choose the epitweetr data directory')
   setup_config(file.choose())
   #make some changes
   #conf$collect_span = 90
   #saving changes    
   save_config()
}

[Package epitweetr version 2.2.16 Index]