asreview.open_state
- asreview.open_state(asreview_obj, review_id=None, read_only=True)[source]
Initialize a state class instance from a project folder.
- Parameters
asreview_obj (str/pathlike/ASReviewProject) – Filepath to the (unzipped) project folder or ASReviewProject object.
review_id (str) – Identifier of the review from which the state will be instantiated. If none is given, the first review in the reviews folder will be taken.
read_only (bool) – Whether to open in read_only mode.
- Returns
SQLiteState