c |
<flask.g of 'ckan.config.middleware.flask_app'> |
csrf_token |
<function generate_csrf at 0x7f11316fe170> |
current_resource_view |
None |
current_user |
<ckan.model.user.AnonymousUser object at 0x7f111d8ad3f0> |
dataset_type |
'dataset' |
g |
<flask.g of 'ckan.config.middleware.flask_app'> |
h |
{'redirect_to': <function redirect_to at 0x7f1131d895a0>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7f1131d89630>, 'url_for': <function url_for at 0x7f1131d89750>, 'url_for_static': <function url_for_static at 0x7f1131d89870>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7f1131d89900>, 'is_url': <function is_url at 0x7f1131d89990>, 'url_is_local': <function url_is_local at 0x7f1131d89ab0>, 'full_current_url': <function full_current_url at 0x7f1131d89b40>, 'current_url': <function current_url at 0x7f1131d89bd0>, 'lang': <function lang at 0x7f1131d89c60>, 'strxfrm': <function strxfrm at 0x7f1131d89cf0>, 'ckan_version': <function ckan_version at 0x7f1131d89d80>, 'lang_native_name': <function lang_native_name at 0x7f1131d89e10>, 'is_rtl_language': <function is_rtl_language at 0x7f1131d89ea0>, 'get_rtl_theme': <function get_rtl_theme at 0x7f1131d89f30>, 'flash_notice': <function flash_notice at 0x7f1131d89fc0>, 'flash_error': <function flash_error at 0x7f1131d8a050>, 'flash_success': <function flash_success at 0x7f1131d8a0e0>, 'get_flashed_messages': <function get_flashed_messages at 0x7f1131d8a170>, 'link_to': <function link_to at 0x7f1131d8a3b0>, 'nav_link': <function nav_link at 0x7f1131d8a440>, 'build_nav_main': <function build_nav_main at 0x7f1131d8a4d0>, 'build_nav_icon': <function build_nav_icon at 0x7f1131d8a560>, 'build_nav': <function build_nav at 0x7f1131d8a5f0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7f1131d8a710>, 'default_group_type': <function default_group_type at 0x7f1131d8a830>, 'default_package_type': <function default_package_type at 0x7f1131d8a8c0>, 'humanize_entity_type': <function humanize_entity_type at 0x7f1131d8a9e0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7f1131d8aa70>, 'has_more_facets': <function has_more_facets at 0x7f1131d8ab00>, 'get_param_int': <function get_param_int at 0x7f1131d8ab90>, 'sorted_extras': <function sorted_extras at 0x7f1131d8acb0>, 'check_access': <function check_access at 0x7f1131d8ad40>, 'linked_user': <function linked_user at 0x7f1131d8add0>, 'group_name_to_title': <function group_name_to_title at 0x7f1131d8ae60>, 'truncate': <function truncate at 0x7f1131d8b010>, 'markdown_extract': <function markdown_extract at 0x7f1131d8aef0>, 'dict_list_reduce': <function dict_list_reduce at 0x7f1131d8b0a0>, 'gravatar': <function gravatar at 0x7f1131d8b130>, 'sanitize_url': <function sanitize_url at 0x7f1131d8b1c0>, 'user_image': <function user_image at 0x7f1131d8b250>, 'pager_url': <function pager_url at 0x7f1131d8b2e0>, 'get_page_number': <function get_page_number at 0x7f1131d8b370>, 'get_display_timezone': <function get_display_timezone at 0x7f1131d8b400>, 'render_datetime': <function render_datetime at 0x7f1131d8b490>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7f1131d8b520>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7f1131d8b5b0>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7f1131d8b640>, 'dataset_display_name': <function dataset_display_name at 0x7f1131d8b910>, 'dataset_link': <function dataset_link at 0x7f1131d8b9a0>, 'resource_display_name': <function resource_display_name at 0x7f1131d8ba30>, 'resource_link': <function resource_link at 0x7f1131d8bac0>, 'tag_link': <function tag_link at 0x7f1131d8bb50>, 'group_link': <function group_link at 0x7f1131d8bbe0>, 'organization_link': <function organization_link at 0x7f1131d8bc70>, 'dump_json': <function dump_json at 0x7f1131d8bd00>, 'snippet': <function snippet at 0x7f1131d8bd90>, 'convert_to_dict': <function convert_to_dict at 0x7f1131d8be20>, 'follow_button': <function follow_button at 0x7f1131d8beb0>, 'follow_count': <function follow_count at 0x7f1131d8bf40>, 'add_url_param': <function add_url_param at 0x7f1131d8c0d0>, 'remove_url_param': <function remove_url_param at 0x7f1131d8c160>, 'debug_inspect': <function debug_inspect at 0x7f1131d8c1f0>, 'popular': <function popular at 0x7f1131d8c280>, 'groups_available': <function groups_available at 0x7f1131d8c310>, 'organizations_available': <function organizations_available at 0x7f1131d8c3a0>, 'roles_translated': <function roles_translated at 0x7f1131d8c430>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7f1131d8c4c0>, 'escape_js': <function escape_js at 0x7f1131d8c550>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7f1131d8c5e0>, 'get_request_param': <function get_request_param at 0x7f1131d8c670>, 'html_auto_link': <function html_auto_link at 0x7f1131d8c700>, 'render_markdown': <function render_markdown at 0x7f1131d8c790>, 'format_resource_items': <function format_resource_items at 0x7f1131d8c820>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7f1131d8c8b0>, 'rendered_resource_view': <function rendered_resource_view at 0x7f1131d8c940>, 'view_resource_url': <function view_resource_url at 0x7f1131d8c9d0>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7f1131d8ca60>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7f1131d8caf0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7f1131d8cb80>, 'resource_view_icon': <function resource_view_icon at 0x7f1131d8cc10>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7f1131d8cca0>, 'resource_view_full_page': <function resource_view_full_page at 0x7f1131d8cd30>, 'remove_linebreaks': <function remove_linebreaks at 0x7f1131d8cdc0>, 'list_dict_filter': <function list_dict_filter at 0x7f1131d8ce50>, 'SI_number_span': <function SI_number_span at 0x7f1131d8cee0>, 'uploads_enabled': <function uploads_enabled at 0x7f1131d8cf70>, 'get_featured_organizations': <function get_featured_organizations at 0x7f1131d8d000>, 'get_featured_groups': <function get_featured_groups at 0x7f1131d8d090>, 'featured_group_org': <function featured_group_org at 0x7f1131d8d120>, 'get_site_statistics': <function get_site_statistics at 0x7f1131d8d1b0>, 'resource_formats': <function resource_formats at 0x7f1131d8d2d0>, 'unified_resource_format': <function unified_resource_format at 0x7f1131d8d360>, 'check_config_permission': <function check_config_permission at 0x7f1131d8d3f0>, 'get_organization': <function get_organization at 0x7f1131d8d480>, 'license_options': <function license_options at 0x7f1131d8d510>, 'get_translated': <function get_translated at 0x7f1131d8d5a0>, 'facets': <function facets at 0x7f1131d8d630>, 'mail_to': <function mail_to at 0x7f1131d8d6c0>, 'clean_html': <function clean_html at 0x7f1131d8d750>, 'flash': <function flash at 0x7f1135b22b00>, 'localised_number': <function localised_number at 0x7f11351677f0>, 'localised_SI_number': <function localised_SI_number at 0x7f1135167910>, 'localised_nice_date': <function localised_nice_date at 0x7f1135167760>, 'localised_filesize': <function localised_filesize at 0x7f1135167880>, 'plugin_loaded': <function plugin_loaded at 0x7f1133441000>, 'get_available_locales': <function get_available_locales at 0x7f11351672e0>, 'get_locales_dict': <function get_locales_dict at 0x7f1135167250>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7f1133aadf30>, 'urlencode': <function urlencode at 0x7f1137272320>, 'include_asset': <function include_asset at 0x7f1131d88f70>, 'render_assets': <function render_assets at 0x7f1131d89090>, 'sanitize_id': <function sanitize_id at 0x7f1131d8d870>, 'get_collaborators': <function get_collaborators at 0x7f1131d8d900>, 'can_update_owner_org': <function can_update_owner_org at 0x7f1131d8d990>, 'decode_view_request_filters': <function decode_view_request_filters at 0x7f1131d8da20>, 'check_ckan_version': <function check_ckan_version at 0x7f1131d8dab0>, 'csrf_input': <function csrf_input at 0x7f1131d8dbd0>, 'datastore_dictionary': <function datastore_dictionary at 0x7f1130d8d360>, 'datastore_search_sql_enabled': <function datastore_search_sql_enabled at 0x7f1130d8d3f0>, 'datapusher_status': <function datapusher_status at 0x7f1130787760>, 'datapusher_status_description': <function datapusher_status_description at 0x7f11307877f0>} |
package |
{'author': '', 'author_email': '', 'creator_user_id': 'a387f500-7aec-459b-a511-bdb6b2a541ea', 'id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'isopen': True, 'license_id': 'odc-pddl', 'license_title': 'Open Data Commons Public Domain Dedication and License (PDDL)', 'license_url': 'http://www.opendefinition.org/licenses/odc-pddl', 'maintainer': '', 'maintainer_email': '', 'metadata_created': '2024-07-15T14:56:22.830050', 'metadata_modified': '2024-07-24T19:19:43.191590', 'name': 'social-media-and-mental-health', 'notes': 'The dataset encompasses demographic, health, and mental health information of students from 48 different states in the USA, born between 1971 and 2003. It includes data on general health ratings, responses to the PHQ-9 depression screening tool, and the GAD-7 anxiety assessment tool. It details how often students experienced various mental health symptoms over the past two weeks, their depression severity scores, and anxiety severity scores. Also, it covers experiences of feeling overwhelmed, exhausted, and hopeless within the last 12 months, along with diagnoses of depression, therapy, and medication usage. The dataset also includes information on various medical conditions, student status (full-time or international), sex, and race.', 'num_resources': 3, 'num_tags': 7, 'organization': {'id': 'd34e38b6-beec-4f82-a62c-baf596401527', 'name': 'data-science', 'title': 'data-science', 'type': 'organization', 'description': '', 'image_url': '', 'created': '2024-07-09T23:35:23.384412', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': 'd34e38b6-beec-4f82-a62c-baf596401527', 'private': False, 'state': 'active', 'title': 'Social Media and Mental Health', 'type': 'dataset', 'url': 'https://doi.org/10.3886/E175582V1', 'version': '', 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-15T15:00:52.938911', 'datastore_active': False, 'description': '', 'format': 'CSV', 'hash': '', 'id': '047eac54-fcce-406a-89e4-9dde700f1703', 'last_modified': '2024-07-15T15:00:52.895971', 'metadata_modified': '2024-07-15T15:00:53.226311', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'mental_health2425v8(in).csv', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 0, 'resource_type': None, 'size': 366757, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/047eac54-fcce-406a-89e4-9dde700f1703/download/mental_health2425v8in.csv', 'url_type': 'upload', 'has_views': False}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-24T19:19:25.693295', 'datastore_active': False, 'description': '', 'format': 'DOCX', 'hash': '', 'id': 'b2a799b3-3ae8-4424-a1db-95760211534e', 'last_modified': '2024-07-24T19:19:25.665387', 'metadata_modified': '2024-07-24T19:19:43.196080', 'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'mimetype_inner': None, 'name': 'guidebook_mental_health.docx', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 1, 'resource_type': None, 'size': 25365, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/b2a799b3-3ae8-4424-a1db-95760211534e/download/student-guidebook-for-mental-health-dataset.docx', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-24T19:19:43.210049', 'datastore_active': False, 'description': '', 'format': 'DOCX', 'hash': '', 'id': '9a027ed9-1ded-4df3-b6c2-77cce570a3ac', 'last_modified': '2024-07-24T19:19:43.179797', 'metadata_modified': '2024-07-24T19:19:43.196257', 'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'mimetype_inner': None, 'name': 'student_codebook.docx', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 2, 'resource_type': None, 'size': 20518, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/9a027ed9-1ded-4df3-b6c2-77cce570a3ac/download/codebook.docx', 'url_type': 'upload'}], 'tags': [{'display_name': 'anxiety', 'id': 'c05592e3-d4e7-4983-b280-a13f23380d23', 'name': 'anxiety', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'depression', 'id': '530434c8-503c-4527-8e14-774b7218ca81', 'name': 'depression', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'health', 'id': 'c5cbce08-b8b5-446d-860b-9c914907e575', 'name': 'health', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'mental health', 'id': 'cdeaeedc-c1a4-405f-948b-db02b9b6694d', 'name': 'mental health', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'student well-being', 'id': 'b7dd1a94-a42d-4e94-b28f-9f24ddc5eb8f', 'name': 'student well-being', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'students', 'id': 'c99110fa-29ad-4bc9-b517-afbd60e85e10', 'name': 'students', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'survey', 'id': '972edb72-39f1-4d2e-a735-713b3e301d21', 'name': 'survey', 'state': 'active', 'vocabulary_id': None}], 'extras': [], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': []} |
pkg |
<Package id=0c167655-d244-4e14-bb17-4478d8e6207c name=social-media-and-mental-health title=Social Media and Mental Health version= url=https://doi.org/10.3886/E175582V1 author= author_email= maintainer= maintainer_email= notes=The dataset encompasses demographic, health, and mental health information of students from 48 different states in the USA, born between 1971 and 2003. It includes data on general health ratings, responses to the PHQ-9 depression screening tool, and the GAD-7 anxiety assessment tool. It details how often students experienced various mental health symptoms over the past two weeks, their depression severity scores, and anxiety severity scores. Also, it covers experiences of feeling overwhelmed, exhausted, and hopeless within the last 12 months, along with diagnoses of depression, therapy, and medication usage. The dataset also includes information on various medical conditions, student status (full-time or international), sex, and race. license_id=odc-pddl type=dataset owner_org=d34e38b6-beec-4f82-a62c-baf596401527 creator_user_id=a387f500-7aec-459b-a511-bdb6b2a541ea metadata_created=2024-07-15 14:56:22.830050 metadata_modified=2024-07-24 19:19:43.191590 private=False state=active plugin_data=None> |
pkg_dict |
{'author': '', 'author_email': '', 'creator_user_id': 'a387f500-7aec-459b-a511-bdb6b2a541ea', 'id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'isopen': True, 'license_id': 'odc-pddl', 'license_title': 'Open Data Commons Public Domain Dedication and License (PDDL)', 'license_url': 'http://www.opendefinition.org/licenses/odc-pddl', 'maintainer': '', 'maintainer_email': '', 'metadata_created': '2024-07-15T14:56:22.830050', 'metadata_modified': '2024-07-24T19:19:43.191590', 'name': 'social-media-and-mental-health', 'notes': 'The dataset encompasses demographic, health, and mental health information of students from 48 different states in the USA, born between 1971 and 2003. It includes data on general health ratings, responses to the PHQ-9 depression screening tool, and the GAD-7 anxiety assessment tool. It details how often students experienced various mental health symptoms over the past two weeks, their depression severity scores, and anxiety severity scores. Also, it covers experiences of feeling overwhelmed, exhausted, and hopeless within the last 12 months, along with diagnoses of depression, therapy, and medication usage. The dataset also includes information on various medical conditions, student status (full-time or international), sex, and race.', 'num_resources': 3, 'num_tags': 7, 'organization': {'id': 'd34e38b6-beec-4f82-a62c-baf596401527', 'name': 'data-science', 'title': 'data-science', 'type': 'organization', 'description': '', 'image_url': '', 'created': '2024-07-09T23:35:23.384412', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': 'd34e38b6-beec-4f82-a62c-baf596401527', 'private': False, 'state': 'active', 'title': 'Social Media and Mental Health', 'type': 'dataset', 'url': 'https://doi.org/10.3886/E175582V1', 'version': '', 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-15T15:00:52.938911', 'datastore_active': False, 'description': '', 'format': 'CSV', 'hash': '', 'id': '047eac54-fcce-406a-89e4-9dde700f1703', 'last_modified': '2024-07-15T15:00:52.895971', 'metadata_modified': '2024-07-15T15:00:53.226311', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'mental_health2425v8(in).csv', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 0, 'resource_type': None, 'size': 366757, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/047eac54-fcce-406a-89e4-9dde700f1703/download/mental_health2425v8in.csv', 'url_type': 'upload', 'has_views': False}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-24T19:19:25.693295', 'datastore_active': False, 'description': '', 'format': 'DOCX', 'hash': '', 'id': 'b2a799b3-3ae8-4424-a1db-95760211534e', 'last_modified': '2024-07-24T19:19:25.665387', 'metadata_modified': '2024-07-24T19:19:43.196080', 'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'mimetype_inner': None, 'name': 'guidebook_mental_health.docx', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 1, 'resource_type': None, 'size': 25365, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/b2a799b3-3ae8-4424-a1db-95760211534e/download/student-guidebook-for-mental-health-dataset.docx', 'url_type': 'upload'}, {'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-24T19:19:43.210049', 'datastore_active': False, 'description': '', 'format': 'DOCX', 'hash': '', 'id': '9a027ed9-1ded-4df3-b6c2-77cce570a3ac', 'last_modified': '2024-07-24T19:19:43.179797', 'metadata_modified': '2024-07-24T19:19:43.196257', 'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'mimetype_inner': None, 'name': 'student_codebook.docx', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 2, 'resource_type': None, 'size': 20518, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/9a027ed9-1ded-4df3-b6c2-77cce570a3ac/download/codebook.docx', 'url_type': 'upload'}], 'tags': [{'display_name': 'anxiety', 'id': 'c05592e3-d4e7-4983-b280-a13f23380d23', 'name': 'anxiety', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'depression', 'id': '530434c8-503c-4527-8e14-774b7218ca81', 'name': 'depression', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'health', 'id': 'c5cbce08-b8b5-446d-860b-9c914907e575', 'name': 'health', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'mental health', 'id': 'cdeaeedc-c1a4-405f-948b-db02b9b6694d', 'name': 'mental health', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'student well-being', 'id': 'b7dd1a94-a42d-4e94-b28f-9f24ddc5eb8f', 'name': 'student well-being', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'students', 'id': 'c99110fa-29ad-4bc9-b517-afbd60e85e10', 'name': 'students', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'survey', 'id': '972edb72-39f1-4d2e-a735-713b3e301d21', 'name': 'survey', 'state': 'active', 'vocabulary_id': None}], 'extras': [], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': []} |
request |
<Request 'http://bsos-data.umd.edu/dataset/social-media-and-mental-health/resource/047eac54-fcce-406a-89e4-9dde700f1703' [GET]> |
resource |
{'cache_last_updated': None, 'cache_url': None, 'created': '2024-07-15T15:00:52.938911', 'datastore_active': False, 'description': '', 'format': 'CSV', 'hash': '', 'id': '047eac54-fcce-406a-89e4-9dde700f1703', 'last_modified': '2024-07-15T15:00:52.895971', 'metadata_modified': '2024-07-15T15:00:53.226311', 'mimetype': 'text/csv', 'mimetype_inner': None, 'name': 'mental_health2425v8(in).csv', 'package_id': '0c167655-d244-4e14-bb17-4478d8e6207c', 'position': 0, 'resource_type': None, 'size': 366757, 'state': 'active', 'url': 'https://bsos-data.umd.edu/dataset/0c167655-d244-4e14-bb17-4478d8e6207c/resource/047eac54-fcce-406a-89e4-9dde700f1703/download/mental_health2425v8in.csv', 'url_type': 'upload', 'has_views': False} |
resource_views |
[] |
session |
{'_domain': None, '_path': '/', '_id': '13482f6aae6b43bc950245fa72c59600', '_fresh': False, '_csrf_token': '39fcd37c72c45ec1e150b9390df0255ba73540e8'} |
ungettext |
<function ungettext at 0x7f1133aad510> |