use_data_backup: Restore previous shinyBZtopics data

Description Usage Arguments Details

View source: R/run_app.R

Description

TLDR: give the name of a backup folder in shinyBZtopics_data/ to restore this data.

Usage

1

Arguments

fname

The name of a folder in shinyBZtopics_data/

Details

All previously created data with create_bz_topics_data is stored in the shinyBZtopics_data folder, with timestamps of the time the data was first created. Whenever you run run_topicbrowser, the most recent data is used in the app. If you pass the name of one of the backup folder (named 'created_DATETIME') to the use_data_backup function, it will create a new copy with a new timestamp.

Note that if you updated data (using if_existing = 'update'), this will have created a new data folder (the original data will still have its own backup)


kasperwelbers/shinyBZtopics documentation built on Jan. 25, 2022, 12:20 p.m.