diff --git a/physionet-django/console/templates/console/downloads.html b/physionet-django/console/templates/console/downloads.html index 61c4dca40..b983d49b7 100644 --- a/physionet-django/console/templates/console/downloads.html +++ b/physionet-django/console/templates/console/downloads.html @@ -25,7 +25,7 @@
Users
Published projects

Download a complete list of published projects, including project names, descriptions, and timelines.

- Download projects + Download published projects diff --git a/physionet-django/console/views.py b/physionet-django/console/views.py index 7656f2c53..bf8ea3833 100644 --- a/physionet-django/console/views.py +++ b/physionet-django/console/views.py @@ -2462,6 +2462,8 @@ def download_projects(request): writer.writerow(["project_id", "core_project_id", "project_slug", + "resource_type_id", + "resource_type", "version", "publish_date", "has_other_versions", @@ -2485,6 +2487,8 @@ def download_projects(request): "access_policy", "license", "data_use_agreement", + "signed_dua_count", + "storage_size_mb", "project_home_page", "ethics_statement", "corresponding_author_id", @@ -2508,6 +2512,8 @@ def clean_html(html_content): project_data = [project.id, project.core_project.id, project.slug, + project.resource_type_id, + project.resource_type.name, project.version, project.publish_datetime, project.has_other_versions, @@ -2531,6 +2537,8 @@ def clean_html(html_content): project.access_policy, project.license, project.dua, + DUASignature.objects.filter(project=project.id).count(), + round(project.main_storage_size / 1000000, 1), project.project_home_page, clean_html(project.ethics_statement), ', '.join(str(author.id) for author in authors if author.is_corresponding),