Connect
download¤
            append_connections(papers, connection_field_name='local__referenced_to')
¤
    find connections between papers based on citation doi
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
papers | 
            
                  list
             | 
            
               list of paper metadata  | 
            required | 
connection_field_name | 
            
                  Optional[str]
             | 
            
               name of the field to save the connection info  | 
            
                  'local__referenced_to'
             | 
          
Returns:
| Type | Description | 
|---|---|
                  list
             | 
            
               list of paper metadata with connection info  | 
          
Source code in kirsche/connect.py
              12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59  |  | 
            append_connections_for_file(data_file, target=None, save_keys=None, connection_field_name='local__referenced_to')
¤
    connect papers based on citation doi
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
data_file | 
            
                  Union[str, Path]
             | 
            
               path to json file that contains the downloaded paper metadata  | 
            required | 
target | 
            
                  Optional[Union[str, Path]]
             | 
            
               path to json file to save the enhanced paper metadata  | 
            
                  None
             | 
          
save_keys | 
            
                  Optional[list]
             | 
            
               list of keys to save from the original paper metadata  | 
            
                  None
             | 
          
connection_field_name | 
            
                  Optional[str]
             | 
            
               name of the field to save the connection info  | 
            
                  'local__referenced_to'
             | 
          
Returns:
| Type | Description | 
|---|---|
| 
               list of paper metadata with connection info  | 
          
Source code in kirsche/connect.py
              96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126  |  |