diff --git a/pyDataverse/api.py b/pyDataverse/api.py index ac731a2..1577046 100644 --- a/pyDataverse/api.py +++ b/pyDataverse/api.py @@ -854,7 +854,7 @@ def get_datasets_by_subject(self, date_str=None, auth=DEPRECATION_GUARD): def get_datasets_by_data_location(self, data_location, auth=DEPRECATION_GUARD): """ - GET https://$SERVER/api/info/metrics/datasets/bySubject + GET https://$SERVER/api/info/metrics/datasets/?dataLocation=$location $type can be set to dataverses, datasets, files or downloads. """