You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,29 @@
2
2
3
3
## NEW FEATURES
4
4
5
-
*`chembl_query()` can now perform both online queries (mode = "ws", default) and offline retrievals (mode = "offline"). Note, offline functionality is currently very limited.
6
-
* Added a new function `chembl_status()` which returns status information about the ChEMBL webservice.
7
-
*`chembl_query()` now works with the "similarity" resource as well.
5
+
### OFFLINE ACCESS
6
+
7
+
*`chembl_query()` can now perform both online queries (`mode = "ws"`, default) and offline retrievals (`mode = "offline"`) from a local ChEMBL database. Offline mode currently supports the following resources: `atc_class`, `binding_site`, `biotherapeutic`, `cell_line`, `chembl_id_lookup`, `compound_record`, and `document`.
8
+
* Added a new function `db_download_chembl()` for downloading ChEMBL for fully offline access.
9
+
10
+
### OTHER
11
+
12
+
* Added a new function `chembl_status()` which returns status information about the ChEMBL webservice (database version, release date, and entity counts).
13
+
* Added a new function `chembl_atc_classes()` to retrieve all available ATC classifications from ChEMBL.
14
+
*`chembl_query()` now works with the "similarity" resource (note: currently limited to 20 results).
8
15
*`bcpc_query()` now also looks for derivatives (esters and salts) of active compounds.
9
16
* Added a new function `chembl_img()` for downloading SVG images from ChEMBL.
10
-
* Added a new function `db_download_chembl()` for downloading ChEMBL for fully offline access.
11
17
12
18
## MINOR IMPROVEMENTS
13
19
14
-
*`chembl_query()` now returns a named list and uses better formatting for nested output.
15
-
* Added new argument `tidy = TRUE` to `chembl_query()` so we can now control whether we want to try to convert the output to a flat format.
20
+
*`chembl_query()` now returns a named list with improved formatting for nested output.
21
+
* Added new argument `output` to `chembl_query()` (values: "raw" or "tidy") to control output format. Raw format returns the full nested structure; tidy format attempts to flatten the results.
22
+
* Added new `options` argument to `chembl_query()` for passing resource- and mode-specific options (cache file name, similarity threshold, database version, etc.).
23
+
*`chembl_query()` can now replace NULL values with typed NA values (`NA_character_`, `NA_integer_`, `NA_real_`) based on the field schema when `replace_nulls = TRUE` in options.
16
24
17
25
## BUG FIXES
18
26
19
-
*`chembl_query()` did not work with the "compound_structural_alerts" resource. This has been fixed.
27
+
*`chembl_query()` did not work with the "compound_structural_alert" resource. This has been fixed.
0 commit comments