asreview.open_db#
- asreview.open_db(fp, read_only=False)[source]#
Open a database.
- Parameters:
fp (path-like) – File path to the database
read_only (bool, optional) – Whether to create a new database if one doesn’t exist yet and whether the opened database will be in read only mode or not.
- Returns:
Database – ASReview database.
- Raises:
FileNotFoundError – If read_only and there is no file at fp.
ValueError – If read_only and there is no valid database at fp.