colrev.ops.colrev_pandas.extract_pdfs_for_data_extraction¶
- extract_pdfs_for_data_extraction(records_df, directory, copy_files=False)[source]¶
This function creates symlinks or copies the PDFs to the given directory based on the copy_files parameter.
Parameters: records_df (pd.DataFrame): The DataFrame containing the records. :rtype:
None
directory (str): The directory where the symlinks or copies will be created. copy_files (bool, optional): If True, copies the PDFs instead of creating
symlinks. Defaults to False.
Returns: None