colrev.ops.colrev_pandas.add_from_tei¶
- add_from_tei(records_df, *, project_path='', fields=None)[source]¶
This function adds data from TEI files to the given DataFrame.
Parameters: :rtype:
None
records_df (pd.DataFrame): The DataFrame to which the data will be added. project_path (str, optional): The path to the project. Defaults to the
current working directory.
- fields (Optional[List[str]], optional): The fields to be added from the TEI
files. Defaults to [Fields.ABSTRACT, Fields.KEYWORDS].
Returns: None