c |
<flask.g of 'ckan.config.middleware.flask_app'> |
csrf_token |
<function generate_csrf at 0x7fb851d2e170> |
current_resource_view |
None |
current_user |
<ckan.model.user.AnonymousUser object at 0x7fb817df5180> |
dataset_type |
'dataset' |
g |
<flask.g of 'ckan.config.middleware.flask_app'> |
h |
{'redirect_to': <function redirect_to at 0x7fb8523b95a0>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7fb8523b9630>, 'url_for': <function url_for at 0x7fb8523b9750>, 'url_for_static': <function url_for_static at 0x7fb8523b9870>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7fb8523b9900>, 'is_url': <function is_url at 0x7fb8523b9990>, 'url_is_local': <function url_is_local at 0x7fb8523b9ab0>, 'full_current_url': <function full_current_url at 0x7fb8523b9b40>, 'current_url': <function current_url at 0x7fb8523b9bd0>, 'lang': <function lang at 0x7fb8523b9c60>, 'strxfrm': <function strxfrm at 0x7fb8523b9cf0>, 'ckan_version': <function ckan_version at 0x7fb8523b9d80>, 'lang_native_name': <function lang_native_name at 0x7fb8523b9e10>, 'is_rtl_language': <function is_rtl_language at 0x7fb8523b9ea0>, 'get_rtl_theme': <function get_rtl_theme at 0x7fb8523b9f30>, 'flash_notice': <function flash_notice at 0x7fb8523b9fc0>, 'flash_error': <function flash_error at 0x7fb8523ba050>, 'flash_success': <function flash_success at 0x7fb8523ba0e0>, 'get_flashed_messages': <function get_flashed_messages at 0x7fb8523ba170>, 'link_to': <function link_to at 0x7fb8523ba3b0>, 'nav_link': <function nav_link at 0x7fb8523ba440>, 'build_nav_main': <function build_nav_main at 0x7fb8523ba4d0>, 'build_nav_icon': <function build_nav_icon at 0x7fb8523ba560>, 'build_nav': <function build_nav at 0x7fb8523ba5f0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7fb8523ba710>, 'default_group_type': <function default_group_type at 0x7fb8523ba830>, 'default_package_type': <function default_package_type at 0x7fb8523ba8c0>, 'humanize_entity_type': <function humanize_entity_type at 0x7fb8523ba9e0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7fb8523baa70>, 'has_more_facets': <function has_more_facets at 0x7fb8523bab00>, 'get_param_int': <function get_param_int at 0x7fb8523bab90>, 'sorted_extras': <function sorted_extras at 0x7fb8523bacb0>, 'check_access': <function check_access at 0x7fb8523bad40>, 'linked_user': <function linked_user at 0x7fb8523badd0>, 'group_name_to_title': <function group_name_to_title at 0x7fb8523bae60>, 'truncate': <function truncate at 0x7fb8523bb010>, 'markdown_extract': <function markdown_extract at 0x7fb8523baef0>, 'dict_list_reduce': <function dict_list_reduce at 0x7fb8523bb0a0>, 'gravatar': <function gravatar at 0x7fb8523bb130>, 'sanitize_url': <function sanitize_url at 0x7fb8523bb1c0>, 'user_image': <function user_image at 0x7fb8523bb250>, 'pager_url': <function pager_url at 0x7fb8523bb2e0>, 'get_page_number': <function get_page_number at 0x7fb8523bb370>, 'get_display_timezone': <function get_display_timezone at 0x7fb8523bb400>, 'render_datetime': <function render_datetime at 0x7fb8523bb490>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7fb8523bb520>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7fb8523bb5b0>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7fb8523bb640>, 'dataset_display_name': <function dataset_display_name at 0x7fb8523bb910>, 'dataset_link': <function dataset_link at 0x7fb8523bb9a0>, 'resource_display_name': <function resource_display_name at 0x7fb8523bba30>, 'resource_link': <function resource_link at 0x7fb8523bbac0>, 'tag_link': <function tag_link at 0x7fb8523bbb50>, 'group_link': <function group_link at 0x7fb8523bbbe0>, 'organization_link': <function organization_link at 0x7fb8523bbc70>, 'dump_json': <function dump_json at 0x7fb8523bbd00>, 'snippet': <function snippet at 0x7fb8523bbd90>, 'convert_to_dict': <function convert_to_dict at 0x7fb8523bbe20>, 'follow_button': <function follow_button at 0x7fb8523bbeb0>, 'follow_count': <function follow_count at 0x7fb8523bbf40>, 'add_url_param': <function add_url_param at 0x7fb8523bc0d0>, 'remove_url_param': <function remove_url_param at 0x7fb8523bc160>, 'debug_inspect': <function debug_inspect at 0x7fb8523bc1f0>, 'popular': <function popular at 0x7fb8523bc280>, 'groups_available': <function groups_available at 0x7fb8523bc310>, 'organizations_available': <function organizations_available at 0x7fb8523bc3a0>, 'roles_translated': <function roles_translated at 0x7fb8523bc430>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7fb8523bc4c0>, 'escape_js': <function escape_js at 0x7fb8523bc550>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7fb8523bc5e0>, 'get_request_param': <function get_request_param at 0x7fb8523bc670>, 'html_auto_link': <function html_auto_link at 0x7fb8523bc700>, 'render_markdown': <function render_markdown at 0x7fb8523bc790>, 'format_resource_items': <function format_resource_items at 0x7fb8523bc820>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7fb8523bc8b0>, 'rendered_resource_view': <function rendered_resource_view at 0x7fb8523bc940>, 'view_resource_url': <function view_resource_url at 0x7fb8523bc9d0>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7fb8523bca60>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7fb8523bcaf0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7fb8523bcb80>, 'resource_view_icon': <function resource_view_icon at 0x7fb8523bcc10>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7fb8523bcca0>, 'resource_view_full_page': <function resource_view_full_page at 0x7fb8523bcd30>, 'remove_linebreaks': <function remove_linebreaks at 0x7fb8523bcdc0>, 'list_dict_filter': <function list_dict_filter at 0x7fb8523bce50>, 'SI_number_span': <function SI_number_span at 0x7fb8523bcee0>, 'uploads_enabled': <function uploads_enabled at 0x7fb8523bcf70>, 'get_featured_organizations': <function get_featured_organizations at 0x7fb8523bd000>, 'get_featured_groups': <function get_featured_groups at 0x7fb8523bd090>, 'featured_group_org': <function featured_group_org at 0x7fb8523bd120>, 'get_site_statistics': <function get_site_statistics at 0x7fb8523bd1b0>, 'resource_formats': <function resource_formats at 0x7fb8523bd2d0>, 'unified_resource_format': <function unified_resource_format at 0x7fb8523bd360>, 'check_config_permission': <function check_config_permission at 0x7fb8523bd3f0>, 'get_organization': <function get_organization at 0x7fb8523bd480>, 'license_options': <function license_options at 0x7fb8523bd510>, 'get_translated': <function get_translated at 0x7fb8523bd5a0>, 'facets': <function facets at 0x7fb8523bd630>, 'mail_to': <function mail_to at 0x7fb8523bd6c0>, 'clean_html': <function clean_html at 0x7fb8523bd750>, 'flash': <function flash at 0x7fb856152b00>, 'localised_number': <function localised_number at 0x7fb8557977f0>, 'localised_SI_number': <function localised_SI_number at 0x7fb855797910>, 'localised_nice_date': <function localised_nice_date at 0x7fb855797760>, 'localised_filesize': <function localised_filesize at 0x7fb855797880>, 'plugin_loaded': <function plugin_loaded at 0x7fb853a71000>, 'get_available_locales': <function get_available_locales at 0x7fb8557972e0>, 'get_locales_dict': <function get_locales_dict at 0x7fb855797250>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7fb8540ddf30>, 'urlencode': <function urlencode at 0x7fb8578a2320>, 'include_asset': <function include_asset at 0x7fb8523b8f70>, 'render_assets': <function render_assets at 0x7fb8523b9090>, 'sanitize_id': <function sanitize_id at 0x7fb8523bd870>, 'get_collaborators': <function get_collaborators at 0x7fb8523bd900>, 'can_update_owner_org': <function can_update_owner_org at 0x7fb8523bd990>, 'decode_view_request_filters': <function decode_view_request_filters at 0x7fb8523bda20>, 'check_ckan_version': <function check_ckan_version at 0x7fb8523bdab0>, 'csrf_input': <function csrf_input at 0x7fb8523bdbd0>, 'datastore_dictionary': <function datastore_dictionary at 0x7fb8513bd360>, 'datastore_search_sql_enabled': <function datastore_search_sql_enabled at 0x7fb8513bd3f0>, 'datapusher_status': <function datapusher_status at 0x7fb850db3760>, 'datapusher_status_description': <function datapusher_status_description at 0x7fb850db37f0>} |
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': 'f2818ccbdf7d48528df9e2feacceaa29', '_fresh': False, '_csrf_token': 'ae0e58b928b59ac1a55aa55b2a90f80c6a4a8a22'} |
ungettext |
<function ungettext at 0x7fb8540dd510> |