c |
<flask.g of 'ckan.config.middleware.flask_app'> |
current_resource_view |
{'id': 'ddeeee04-b864-4d69-b25f-ce30c419cbcc', 'resource_id': 'a9d90074-4155-4a31-ba5e-89785635dae1', 'title': 'Preview', 'description': '', 'view_type': 'officedocs_view', 'package_id': '961dd9cc-69bf-4cef-98ea-af1326637c43'} |
dataset_type |
'dataset' |
g |
<flask.g of 'ckan.config.middleware.flask_app'> |
h |
{'redirect_to': <function redirect_to at 0x7f5f17d100d0>, 'url': <function url at 0x7f5f17d101f0>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7f5f17d10160>, 'url_for': <function url_for at 0x7f5f17d103a0>, 'url_for_static': <function url_for_static at 0x7f5f17d10550>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7f5f17d105e0>, 'is_url': <function is_url at 0x7f5f17d10670>, 'url_is_local': <function url_is_local at 0x7f5f17d10790>, 'full_current_url': <function full_current_url at 0x7f5f17d10820>, 'current_url': <function current_url at 0x7f5f17d108b0>, 'lang': <function lang at 0x7f5f17d10940>, 'ckan_version': <function ckan_version at 0x7f5f17d109d0>, 'lang_native_name': <function lang_native_name at 0x7f5f17d10a60>, 'is_rtl_language': <function is_rtl_language at 0x7f5f17d10af0>, 'get_rtl_theme': <function get_rtl_theme at 0x7f5f17d10b80>, 'get_rtl_css': <function get_rtl_css at 0x7f5f17d10c10>, 'flash_notice': <function flash_notice at 0x7f5f17d10ca0>, 'flash_error': <function flash_error at 0x7f5f17d11160>, 'flash_success': <function flash_success at 0x7f5f17d111f0>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7f5f17d11280>, 'link_to': <function link_to at 0x7f5f17d11700>, 'file': <function file at 0x7f5f17d11790>, 'submit': <function submit at 0x7f5f17d11820>, 'nav_link': <function nav_link at 0x7f5f17d118b0>, 'wrapped': <function deprecated.<locals>.decorator.<locals>.wrapped at 0x7f5f17d12820>, 'build_nav_main': <function build_nav_main at 0x7f5f17d11a60>, 'build_nav_icon': <function build_nav_icon at 0x7f5f17d11e50>, 'build_nav': <function build_nav at 0x7f5f17d11ee0>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7f5f17d12040>, 'default_group_type': <function default_group_type at 0x7f5f17d12160>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7f5f17d121f0>, 'has_more_facets': <function has_more_facets at 0x7f5f17d12280>, 'unselected_facet_items': <function unselected_facet_items at 0x7f5f17d12310>, 'get_param_int': <function get_param_int at 0x7f5f17d123a0>, 'sorted_extras': <function sorted_extras at 0x7f5f17d125e0>, 'check_access': <function check_access at 0x7f5f17d12670>, 'linked_user': <function linked_user at 0x7f5f17d12700>, 'group_name_to_title': <function group_name_to_title at 0x7f5f17d128b0>, 'truncate': <function truncate at 0x7f5f17d12940>, 'markdown_extract': <function markdown_extract at 0x7f5f17d129d0>, 'icon_url': <function icon_url at 0x7f5f17d12a60>, 'icon_html': <function icon_html at 0x7f5f17d12af0>, 'icon': <function icon at 0x7f5f17d12b80>, 'resource_icon': <function resource_icon at 0x7f5f17d12c10>, 'format_icon': <function format_icon at 0x7f5f17d12ca0>, 'dict_list_reduce': <function dict_list_reduce at 0x7f5f17d12d30>, 'gravatar': <function gravatar at 0x7f5f17d12dc0>, 'sanitize_url': <function sanitize_url at 0x7f5f17d12e50>, 'user_image': <function user_image at 0x7f5f17d12ee0>, 'pager_url': <function pager_url at 0x7f5f17d12f70>, 'get_page_number': <function get_page_number at 0x7f5f17d13040>, 'get_display_timezone': <function get_display_timezone at 0x7f5f17d130d0>, 'render_datetime': <function render_datetime at 0x7f5f17d13160>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7f5f17d131f0>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7f5f17d13280>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7f5f17d13310>, 'button_attr': <function button_attr at 0x7f5f17d135e0>, 'dataset_display_name': <function dataset_display_name at 0x7f5f17d13670>, 'dataset_link': <function dataset_link at 0x7f5f17d13700>, 'resource_display_name': <function resource_display_name at 0x7f5f17d13790>, 'resource_link': <function resource_link at 0x7f5f17d13820>, 'tag_link': <function tag_link at 0x7f5f17d138b0>, 'group_link': <function group_link at 0x7f5f17d13940>, 'organization_link': <function organization_link at 0x7f5f17d139d0>, 'dump_json': <function dump_json at 0x7f5f17d13a60>, 'auto_log_message': <function auto_log_message at 0x7f5f17d13af0>, 'activity_div': <function activity_div at 0x7f5f17d13b80>, 'snippet': <function snippet at 0x7f5f17d13c10>, 'convert_to_dict': <function convert_to_dict at 0x7f5f17d13ca0>, 'follow_button': <function follow_button at 0x7f5f17d13d30>, 'follow_count': <function follow_count at 0x7f5f17d13dc0>, 'add_url_param': <function add_url_param at 0x7f5f17d13ee0>, 'remove_url_param': <function remove_url_param at 0x7f5f17d13f70>, 'include_resource': <function include_resource at 0x7f5f17d14040>, 'urls_for_resource': <function urls_for_resource at 0x7f5f17d140d0>, 'debug_inspect': <function debug_inspect at 0x7f5f17d14160>, 'popular': <function popular at 0x7f5f17d141f0>, 'groups_available': <function groups_available at 0x7f5f17d14280>, 'organizations_available': <function organizations_available at 0x7f5f17d14310>, 'roles_translated': <function roles_translated at 0x7f5f17d143a0>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7f5f17d14430>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7f5f17d144c0>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7f5f17d14550>, 'escape_js': <function escape_js at 0x7f5f17d145e0>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7f5f17d14670>, 'get_request_param': <function get_request_param at 0x7f5f17d14700>, 'html_auto_link': <function html_auto_link at 0x7f5f17d14790>, 'render_markdown': <function render_markdown at 0x7f5f17d14820>, 'format_resource_items': <function format_resource_items at 0x7f5f17d148b0>, 'resource_preview': <function resource_preview at 0x7f5f17d14940>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7f5f17d149d0>, 'rendered_resource_view': <function rendered_resource_view at 0x7f5f17d14a60>, 'view_resource_url': <function view_resource_url at 0x7f5f17d14af0>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7f5f17d14b80>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7f5f17d14c10>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7f5f17d14ca0>, 'resource_view_icon': <function resource_view_icon at 0x7f5f17d14d30>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7f5f17d14dc0>, 'resource_view_full_page': <function resource_view_full_page at 0x7f5f17d14e50>, 'remove_linebreaks': <function remove_linebreaks at 0x7f5f17d14ee0>, 'list_dict_filter': <function list_dict_filter at 0x7f5f17d14f70>, 'SI_number_span': <function SI_number_span at 0x7f5f17d15040>, 'new_activities': <function new_activities at 0x7f5f17d150d0>, 'uploads_enabled': <function uploads_enabled at 0x7f5f17d15160>, 'get_featured_organizations': <function get_featured_organizations at 0x7f5f17d151f0>, 'get_featured_groups': <function get_featured_groups at 0x7f5f17d15280>, 'featured_group_org': <function featured_group_org at 0x7f5f17d15310>, 'get_site_statistics': <function get_site_statistics at 0x7f5f17d153a0>, 'resource_formats': <function resource_formats at 0x7f5f17d15430>, 'unified_resource_format': <function unified_resource_format at 0x7f5f17d154c0>, 'check_config_permission': <function check_config_permission at 0x7f5f17d15550>, 'get_organization': <function get_organization at 0x7f5f17d155e0>, 'license_options': <function license_options at 0x7f5f17d15670>, 'get_translated': <function get_translated at 0x7f5f17d15700>, 'facets': <function facets at 0x7f5f17d15790>, 'mail_to': <function mail_to at 0x7f5f17d15820>, 'radio': <function radio at 0x7f5f17d158b0>, 'clean_html': <function clean_html at 0x7f5f17d15940>, 'flash': <ckan.lib.helpers._Flash object at 0x7f5f17e06040>, 'localised_number': <function localised_number at 0x7f5f17e7d820>, 'localised_SI_number': <function localised_SI_number at 0x7f5f17e7d940>, 'localised_nice_date': <function localised_nice_date at 0x7f5f17e7d790>, 'localised_filesize': <function localised_filesize at 0x7f5f17e7d8b0>, 'get_available_locales': <function get_available_locales at 0x7f5f190e18b0>, 'get_locales_dict': <function get_locales_dict at 0x7f5f190e1820>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7f5f197675e0>, 'urlencode': <function urlencode at 0x7f5f1a88d8b0>, 'include_asset': <function include_asset at 0x7f5f17d0cb80>, 'render_assets': <function render_assets at 0x7f5f17d0cca0>, 'sanitize_id': <function sanitize_id at 0x7f5f17d15a60>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7f5f17d15af0>, 'activity_list_select': <function activity_list_select at 0x7f5f17d15b80>, 'get_collaborators': <function get_collaborators at 0x7f5f17d15c10>, 'can_update_owner_org': <function can_update_owner_org at 0x7f5f17d15ca0>, 'check_ckan_version': <function check_ckan_version at 0x7f5f17d15d30>, 'csrf_input': <function csrf_input at 0x7f5f17d15dc0>, 'get_map_config': <function get_mapview_config at 0x7f5f1655cb80>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7f5f1655cdc0>, 'datapusher_status': <function datapusher_status at 0x7f5f164995e0>, 'datapusher_status_description': <function datapusher_status_description at 0x7f5f16499670>, 'datastore_dictionary': <function datastore_dictionary at 0x7f5f16544c10>} |
is_activity_archive |
False |
package |
{'author': 'UNICEF', 'author_email': '', 'creator_user_id': '0559a5db-3a26-43ab-a5a7-448bb0b37ded', 'id': '961dd9cc-69bf-4cef-98ea-af1326637c43', 'isopen': True, 'license_id': 'other-open', 'license_title': 'Other (Open)', 'maintainer': 'UNICEF', 'maintainer_email': '', 'metadata_created': '2024-11-06T06:05:37.240901', 'metadata_modified': '2024-11-06T06:57:11.306390', 'name': 'number-detained-children-serving-a-sentence', 'notes': '###Definition:\r\n* __Number of detained children: serving a sentence__ refers to the number of children who are currently incarcerated in juvenile detention centers (LPKA/Lembaga Pembinaan Khusus Anak) and are serving a sentence for a crime they have been convicted of.\r\n###Unit of Measure:\r\n* Count\r\n###Year:\r\n* 2024\r\n###SDG Indicator:\r\n* __ 16.3__ Promote the rule of law at the national and international levels and ensure equal access to justice for all\r\n###CPAP Outcome:\r\n* Child Protection\r\n###CPAP Output:\r\n* 3.2 Child protection services', 'num_resources': 1, 'num_tags': 4, 'organization': {'id': '778c64fd-f237-4bf3-973f-25501e0f5390', 'name': 'unicef', 'title': 'UNICEF', 'type': 'organization', 'description': "UNICEF, officially United Nations Children's Fund, is an agency of the United Nations responsible for providing humanitarian and developmental aid to children worldwide. For more than 60 years, UNICEF has been reaching millions of children in Indonesia with development and humanitarian assistance.", 'image_url': '2023-05-22-082907.473359unicef.jpeg', 'created': '2023-05-22T08:20:54.352759', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': '778c64fd-f237-4bf3-973f-25501e0f5390', 'private': False, 'state': 'active', 'title': 'Number of detained children: serving a sentence', 'type': 'dataset', 'url': 'Kemenkumham (Ministry of Law and Human Rights)', 'version': '', 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-11-06T06:07:38.753763', 'datastore_active': False, 'description': '###Definition:\r\n* Number of detained children: serving a sentence, in 34 provinces and Indonesia.\r\n###Source:\r\n* Kemenkumham (Ministry of Law and Human Rights)\r\n###Year:\r\n* 2024', 'format': 'XLSX', 'hash': '', 'id': 'a9d90074-4155-4a31-ba5e-89785635dae1', 'last_modified': '2024-11-06T06:22:29.585099', 'metadata_modified': '2024-11-06T06:22:29.612943', 'mimetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'mimetype_inner': None, 'name': 'Data in 34 provinces & Indonesia (2024)', 'package_id': '961dd9cc-69bf-4cef-98ea-af1326637c43', 'position': 0, 'resource_type': None, 'size': 9997, 'state': 'active', 'url': 'https://data4children.org/dataset/961dd9cc-69bf-4cef-98ea-af1326637c43/resource/a9d90074-4155-4a31-ba5e-89785635dae1/download/number_detained_children_serving_sentence_2024.xlsx', 'url_type': 'upload', 'has_views': True, 'on_same_domain': True}], 'tags': [{'display_name': 'Child Protection', 'id': '2069488f-08d2-4178-b601-cc5537ec1bf0', 'name': 'Child Protection', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'Kemenkumham', 'id': '12096c99-a43c-4902-aa8d-8baa9691fd1c', 'name': 'Kemenkumham', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'SDG', 'id': '27a90a95-ff73-4dc3-8457-65160fc73eba', 'name': 'SDG', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'SDG 16', 'id': '88c914ac-8637-4418-bce1-3e9086151aca', 'name': 'SDG 16', 'state': 'active', 'vocabulary_id': None}], 'extras': [], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': []} |
pkg |
<Package id=961dd9cc-69bf-4cef-98ea-af1326637c43 name=number-detained-children-serving-a-sentence title=Number of detained children: serving a sentence version= url=Kemenkumham (Ministry of Law and Human Rights) author=UNICEF author_email= maintainer=UNICEF maintainer_email= notes=###Definition:
* __Number of detained children: serving a sentence__ refers to the number of children who are currently incarcerated in juvenile detention centers (LPKA/Lembaga Pembinaan Khusus Anak) and are serving a sentence for a crime they have been convicted of.
###Unit of Measure:
* Count
###Year:
* 2024
###SDG Indicator:
* __ 16.3__ Promote the rule of law at the national and international levels and ensure equal access to justice for all
###CPAP Outcome:
* Child Protection
###CPAP Output:
* 3.2 Child protection services license_id=other-open type=dataset owner_org=778c64fd-f237-4bf3-973f-25501e0f5390 creator_user_id=0559a5db-3a26-43ab-a5a7-448bb0b37ded metadata_created=2024-11-06 06:05:37.240901 metadata_modified=2024-11-06 06:57:11.306390 private=False state=active> |
pkg_dict |
{'author': 'UNICEF', 'author_email': '', 'creator_user_id': '0559a5db-3a26-43ab-a5a7-448bb0b37ded', 'id': '961dd9cc-69bf-4cef-98ea-af1326637c43', 'isopen': True, 'license_id': 'other-open', 'license_title': 'Other (Open)', 'maintainer': 'UNICEF', 'maintainer_email': '', 'metadata_created': '2024-11-06T06:05:37.240901', 'metadata_modified': '2024-11-06T06:57:11.306390', 'name': 'number-detained-children-serving-a-sentence', 'notes': '###Definition:\r\n* __Number of detained children: serving a sentence__ refers to the number of children who are currently incarcerated in juvenile detention centers (LPKA/Lembaga Pembinaan Khusus Anak) and are serving a sentence for a crime they have been convicted of.\r\n###Unit of Measure:\r\n* Count\r\n###Year:\r\n* 2024\r\n###SDG Indicator:\r\n* __ 16.3__ Promote the rule of law at the national and international levels and ensure equal access to justice for all\r\n###CPAP Outcome:\r\n* Child Protection\r\n###CPAP Output:\r\n* 3.2 Child protection services', 'num_resources': 1, 'num_tags': 4, 'organization': {'id': '778c64fd-f237-4bf3-973f-25501e0f5390', 'name': 'unicef', 'title': 'UNICEF', 'type': 'organization', 'description': "UNICEF, officially United Nations Children's Fund, is an agency of the United Nations responsible for providing humanitarian and developmental aid to children worldwide. For more than 60 years, UNICEF has been reaching millions of children in Indonesia with development and humanitarian assistance.", 'image_url': '2023-05-22-082907.473359unicef.jpeg', 'created': '2023-05-22T08:20:54.352759', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': '778c64fd-f237-4bf3-973f-25501e0f5390', 'private': False, 'state': 'active', 'title': 'Number of detained children: serving a sentence', 'type': 'dataset', 'url': 'Kemenkumham (Ministry of Law and Human Rights)', 'version': '', 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-11-06T06:07:38.753763', 'datastore_active': False, 'description': '###Definition:\r\n* Number of detained children: serving a sentence, in 34 provinces and Indonesia.\r\n###Source:\r\n* Kemenkumham (Ministry of Law and Human Rights)\r\n###Year:\r\n* 2024', 'format': 'XLSX', 'hash': '', 'id': 'a9d90074-4155-4a31-ba5e-89785635dae1', 'last_modified': '2024-11-06T06:22:29.585099', 'metadata_modified': '2024-11-06T06:22:29.612943', 'mimetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'mimetype_inner': None, 'name': 'Data in 34 provinces & Indonesia (2024)', 'package_id': '961dd9cc-69bf-4cef-98ea-af1326637c43', 'position': 0, 'resource_type': None, 'size': 9997, 'state': 'active', 'url': 'https://data4children.org/dataset/961dd9cc-69bf-4cef-98ea-af1326637c43/resource/a9d90074-4155-4a31-ba5e-89785635dae1/download/number_detained_children_serving_sentence_2024.xlsx', 'url_type': 'upload', 'has_views': True, 'on_same_domain': True}], 'tags': [{'display_name': 'Child Protection', 'id': '2069488f-08d2-4178-b601-cc5537ec1bf0', 'name': 'Child Protection', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'Kemenkumham', 'id': '12096c99-a43c-4902-aa8d-8baa9691fd1c', 'name': 'Kemenkumham', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'SDG', 'id': '27a90a95-ff73-4dc3-8457-65160fc73eba', 'name': 'SDG', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'SDG 16', 'id': '88c914ac-8637-4418-bce1-3e9086151aca', 'name': 'SDG 16', 'state': 'active', 'vocabulary_id': None}], 'extras': [], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': []} |
request |
<Request 'https://data4children.org/dataset/number-detained-children-serving-a-sentence/resource/a9d90074-4155-4a31-ba5e-89785635dae1?view_id=ddeeee04-b864-4d69-b25f-ce30c419cbcc' [GET]> |
resource |
{'cache_last_updated': None, 'cache_url': None, 'created': '2024-11-06T06:07:38.753763', 'datastore_active': False, 'description': '###Definition:\r\n* Number of detained children: serving a sentence, in 34 provinces and Indonesia.\r\n###Source:\r\n* Kemenkumham (Ministry of Law and Human Rights)\r\n###Year:\r\n* 2024', 'format': 'XLSX', 'hash': '', 'id': 'a9d90074-4155-4a31-ba5e-89785635dae1', 'last_modified': '2024-11-06T06:22:29.585099', 'metadata_modified': '2024-11-06T06:22:29.612943', 'mimetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'mimetype_inner': None, 'name': 'Data in 34 provinces & Indonesia (2024)', 'package_id': '961dd9cc-69bf-4cef-98ea-af1326637c43', 'position': 0, 'resource_type': None, 'size': 9997, 'state': 'active', 'url': 'https://data4children.org/dataset/961dd9cc-69bf-4cef-98ea-af1326637c43/resource/a9d90074-4155-4a31-ba5e-89785635dae1/download/number_detained_children_serving_sentence_2024.xlsx', 'url_type': 'upload', 'has_views': True, 'on_same_domain': True} |
resource_views |
[{'id': 'ddeeee04-b864-4d69-b25f-ce30c419cbcc', 'resource_id': 'a9d90074-4155-4a31-ba5e-89785635dae1', 'title': 'Preview', 'description': '', 'view_type': 'officedocs_view', 'package_id': '961dd9cc-69bf-4cef-98ea-af1326637c43'}, {'id': '3f0237e9-136a-4b06-8650-ec2ab6aa2e38', 'resource_id': 'a9d90074-4155-4a31-ba5e-89785635dae1', 'title': 'Data Explorer', 'description': '', 'view_type': 'recline_view', 'package_id': '961dd9cc-69bf-4cef-98ea-af1326637c43'}] |
session |
{'_domain': None, '_path': '/', '_accessed_time': 1732455238.5383358, '_creation_time': 1732455238.5383358} |
ungettext |
<function ungettext at 0x7f5f19766dc0> |