democratiser-geospatial/ckan_donnees_quebec.ipynb
2017-06-24 16:23:55 -04:00

2075 lines
132 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Exploration du portail CKAN Données Québec"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"#!/usr/bin/env python\n",
"import urllib.request\n",
"import urllib.parse\n",
"import json\n",
"import pprint"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Lister les groupes du portail de données"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"data=json.dumps({'id': 'data-explorer'}).encode(\"utf-8\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"# Make the HTTP request.\n",
"response = urllib.request.urlopen('https://www.donneesquebec.ca/recherche/api/action/group_list',data)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": true,
"scrolled": false
},
"outputs": [],
"source": [
"# Use the json module to load CKAN's response into a dictionary.\n",
"response_dict = json.loads(response.read())"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"['agriculture-alimentation',\n",
" 'economie-entreprises',\n",
" 'education-recherche',\n",
" 'environnement-ressources-naturelles-energie',\n",
" 'gouvernement-finances',\n",
" 'infrastructures',\n",
" 'loi-justice-securite-publique',\n",
" 'politiques-sociales',\n",
" 'sante',\n",
" 'societe-culture',\n",
" 'tourisme-sports-loisirs',\n",
" 'transport']\n"
]
}
],
"source": [
"# Check the contents of the response.\n",
"assert response_dict['success'] is True\n",
"result = response_dict['result']\n",
"pprint.pprint(result)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Lister le contenu d'un groupe"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"data_string = json.dumps({'id': u'education-recherche',\n",
" 'include_datasets': True,\n",
" 'include_extras': False,\n",
" 'include_users': False}).encode(\"utf-8\")"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": true,
"scrolled": false
},
"outputs": [],
"source": [
"response = urllib.request.urlopen('https://www.donneesquebec.ca/recherche/api/action/group_show',\n",
" data_string)\n",
"assert response.code == 200"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"collapsed": true,
"scrolled": false
},
"outputs": [],
"source": [
"response_dict = json.loads(response.read())"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'approval_status': 'approved',\n",
" 'created': '2015-10-26T14:37:28.265944',\n",
" 'description': \"Domaine d'affaires correspondant au développement et au \"\n",
" \"maintien du système éducatif ainsi que l'accès à celui-ci. \"\n",
" 'Cette catégorie inclut également tout ce qui a trait à '\n",
" \"l'innovation et à la recherche industrielle et scientifique.\",\n",
" 'display_name': 'Éducation et recherche',\n",
" 'groups': [],\n",
" 'id': '9cc61d74-f537-4002-b3e0-86d840c157c5',\n",
" 'image_display_url': 'https://www.donneesquebec.ca/recherche/images/categories/education-recherche.gif',\n",
" 'image_url': 'https://www.donneesquebec.ca/recherche/images/categories/education-recherche.gif',\n",
" 'is_organization': False,\n",
" 'name': 'education-recherche',\n",
" 'num_followers': 0,\n",
" 'package_count': 22,\n",
" 'packages': [{'author': \"Ministère de l'Éducation et de l'Enseignement \"\n",
" 'Supérieur',\n",
" 'author_email': 'informationsgeographiques@education.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2013-11-19T09:36:16',\n",
" 'metadata_modified': '2017-03-14T14:22:16.707520',\n",
" 'methodologie': '',\n",
" 'name': 'localisation-des-etablissements-denseignement-du-reseau-scolaire-au-quebec',\n",
" 'notes': 'Localisation des écoles pour le réseau public '\n",
" '(francophone, anglophone et statut particulier) '\n",
" \"incluant les ordres d'enseignement préscolaire, \"\n",
" 'primaire, secondaire, formation professionnelle et '\n",
" \"l'enseignement des adultes. \\r\\n\"\n",
" '\\r\\n'\n",
" 'De plus, la localisation des établissements '\n",
" \"d'enseignement des réseaux collégial et universitaire \"\n",
" 'ainsi que les écoles privés et gouvernementale est '\n",
" 'également disponible.',\n",
" 'num_resources': 8,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T13:04:11.921347',\n",
" 'description': 'En vertu de sa loi '\n",
" 'constitutive, le Ministère '\n",
" 'réalise ses activités dans les '\n",
" 'domaines de léducation '\n",
" 'préscolaire et de '\n",
" 'lenseignement primaire, '\n",
" 'secondaire, collégial et '\n",
" 'universitaire, de la '\n",
" \"recherche, de l'aide \"\n",
" 'financière aux études ainsi '\n",
" 'que dans les domaines du '\n",
" 'loisir et du sport.',\n",
" 'id': '290c7e13-a963-4ce4-8c89-b2da75021c18',\n",
" 'image_url': '2016-03-15-180532.399024MEESw2.gif',\n",
" 'is_organization': True,\n",
" 'name': 'mels',\n",
" 'revision_id': '14221a37-d54d-4259-92f5-8b523b35cc57',\n",
" 'state': 'active',\n",
" 'title': \"Ministère de l'Éducation et de \"\n",
" \"l'Enseignement supérieur\",\n",
" 'type': 'organization'},\n",
" 'owner_org': '290c7e13-a963-4ce4-8c89-b2da75021c18',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': \"Localisation des établissements d'enseignement du \"\n",
" 'réseau scolaire au Québec',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'asNeeded',\n",
" 'url': '',\n",
" 'version': None},\n",
" {'author': \"Ministère de l'Éducation et de l'Enseignement \"\n",
" 'Supérieur',\n",
" 'author_email': 'informationsgeographiques@education.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '54c17473-19cc-47d5-a5a7-99295190ec4b',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2013-11-19T11:45:51',\n",
" 'metadata_modified': '2017-03-13T18:40:15.252185',\n",
" 'methodologie': '',\n",
" 'name': 'limites-des-commissions-scolaires-au-quebec',\n",
" 'notes': 'Limites des commissions scolaires francophones, '\n",
" 'anglophones et à statut particulier.',\n",
" 'num_resources': 8,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T13:04:11.921347',\n",
" 'description': 'En vertu de sa loi '\n",
" 'constitutive, le Ministère '\n",
" 'réalise ses activités dans les '\n",
" 'domaines de léducation '\n",
" 'préscolaire et de '\n",
" 'lenseignement primaire, '\n",
" 'secondaire, collégial et '\n",
" 'universitaire, de la '\n",
" \"recherche, de l'aide \"\n",
" 'financière aux études ainsi '\n",
" 'que dans les domaines du '\n",
" 'loisir et du sport.',\n",
" 'id': '290c7e13-a963-4ce4-8c89-b2da75021c18',\n",
" 'image_url': '2016-03-15-180532.399024MEESw2.gif',\n",
" 'is_organization': True,\n",
" 'name': 'mels',\n",
" 'revision_id': '14221a37-d54d-4259-92f5-8b523b35cc57',\n",
" 'state': 'active',\n",
" 'title': \"Ministère de l'Éducation et de \"\n",
" \"l'Enseignement supérieur\",\n",
" 'type': 'organization'},\n",
" 'owner_org': '290c7e13-a963-4ce4-8c89-b2da75021c18',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'c618c041-e3d2-40bc-b607-a9f6229e625f',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': 'Limites des commissions scolaires au Québec',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': '',\n",
" 'version': None},\n",
" {'author': 'Léquipe de recherche marketing au CEFRIO',\n",
" 'author_email': 'info@cefrio.qc.ca',\n",
" 'creator_user_id': '6dae464f-b8e9-4024-b26a-e58c62617945',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'organismes',\n",
" 'id': '92e6181d-1f0d-4284-a852-4a3c8dde03f1',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2016-07-13T14:39:04.401564',\n",
" 'metadata_modified': '2017-02-15T18:49:11.146167',\n",
" 'methodologie': 'La plupart des questions sont à choix unique, '\n",
" 'donc les réponses à celles-ci sont inscrites '\n",
" 'directement. Cependant, dans le cas des '\n",
" 'questions 3, 50, 5, 8, 9, 11, 14, 35, 16, 25, '\n",
" '24, 21, 22, 39 et 44, il sagit de questions à '\n",
" 'choix multiples. Notez que lorsquil est '\n",
" 'inscrit « Sélectionné », cest parce que le '\n",
" 'répondant a coché le choix. Sinon, la case est '\n",
" 'vide.',\n",
" 'name': 'enquete-portant-sur-les-donnees-ouvertes-au-quebec',\n",
" 'notes': 'Cette étude a été menée en 2015 par le CEFRIO, le '\n",
" 'Centre facilitant la recherche et linnovation dans '\n",
" 'les organisations à laide des technologies de '\n",
" 'linformation et des communications. Il sagissait '\n",
" 'dune mesure de lusage des données ouvertes au '\n",
" 'Québec. Plus particulièrement, lenquête portait sur '\n",
" 'lutilisation et la publication des données ouvertes '\n",
" 'dans les ministères, les organismes publics et les '\n",
" 'municipalités.\\r\\n'\n",
" 'Ci-joint sont le questionnaire qui a été utilisé pour '\n",
" 'mener lenquête, ainsi que les réponses aux questions '\n",
" 'en données ouvertes.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 1,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2017-02-14T14:56:34.986786',\n",
" 'description': 'Le CEFRIO accompagne les '\n",
" 'entreprises et organisations '\n",
" 'dans la transformation de '\n",
" 'leurs processus et pratiques '\n",
" \"d'affaires par l'appropriation \"\n",
" 'du numérique. Organisme de '\n",
" \"recherche et d'innovation, le \"\n",
" 'CEFRIO est mandaté par le '\n",
" 'gouvernement du Québec afin de '\n",
" \"contribuer à l'avancement de \"\n",
" 'la société québécoise par le '\n",
" 'numérique. Il recherche, '\n",
" 'expérimente, enquête et fait '\n",
" 'connaître les usages du '\n",
" 'numérique dans tous les volets '\n",
" 'de la société. Son action '\n",
" \"s'appuie sur une équipe \"\n",
" 'expérimentée, un réseau de 90 '\n",
" 'chercheurs associés et invités '\n",
" \"ainsi que l'engagement de plus \"\n",
" 'de 150 membres.\\r\\n',\n",
" 'id': '9054c664-b0b4-49a1-bc52-dc7fe5947f53',\n",
" 'image_url': '2017-02-14-195926.282247CEFRIO-logo.png',\n",
" 'is_organization': True,\n",
" 'name': 'cefrio',\n",
" 'revision_id': '1d7449fe-0a8d-4330-8f9a-f6595f7b5e55',\n",
" 'state': 'active',\n",
" 'title': 'CEFRIO',\n",
" 'type': 'organization'},\n",
" 'owner_org': '9054c664-b0b4-49a1-bc52-dc7fe5947f53',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '671be162-b041-419a-aab8-d1a7a63aeaa5',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': 'Enquête portant sur lutilisation et la publication '\n",
" 'de données ouvertes au Québec',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'notPlanned',\n",
" 'url': 'http://www.cefrio.qc.ca/ ',\n",
" 'version': None},\n",
" {'author': \"Service de l'informatique\",\n",
" 'author_email': 'webmestre@gatineau.ca',\n",
" 'creator_user_id': '6dae464f-b8e9-4024-b26a-e58c62617945',\n",
" 'ext_spatial': 'ville-gatineau',\n",
" 'extras_organisation_principale': 'ville-de-gatineau',\n",
" 'id': 'ab7c07cf-794c-4a34-8272-1aa5eb0a0410',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2014-02-21T00:00:00',\n",
" 'metadata_modified': '2017-02-13T20:33:12.473963',\n",
" 'methodologie': '',\n",
" 'name': 'vgat_1267315911',\n",
" 'notes': 'Lieux publics',\n",
" 'num_resources': 5,\n",
" 'num_tags': 5,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-22T12:42:18.285387',\n",
" 'description': '[La Ville de Gatineau a lancé '\n",
" 'son portail de données '\n",
" 'ouvertes en janvier 2013. '\n",
" 'Gatineau participe, avec les '\n",
" 'autres grandes villes du '\n",
" 'Québec et le gouvernement '\n",
" 'québécois, à la diffusion des '\n",
" 'données municipales.] '\n",
" '(http://www.gatineau.ca/donneesouvertes/) ',\n",
" 'id': '23e2ed49-fd2c-4114-858e-00ddc65304cc',\n",
" 'image_url': '2015-11-26-225403.942662logogatineau.png',\n",
" 'is_organization': True,\n",
" 'name': 'ville-de-gatineau',\n",
" 'revision_id': '39535c99-05a5-4ee4-ae58-dc000edeebfc',\n",
" 'state': 'active',\n",
" 'title': 'Ville de Gatineau',\n",
" 'type': 'organization'},\n",
" 'owner_org': '23e2ed49-fd2c-4114-858e-00ddc65304cc',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'e8bbd4c9-66b8-4fe1-b63f-ef9b6f5c1989',\n",
" 'state': 'active',\n",
" 'temporal': '2014-02-21/2015-10-23',\n",
" 'title': 'Lieux publics',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'irregular',\n",
" 'url': 'http://www.gatineau.ca/donneesouvertes/fiche_metadonnees_fr.aspx?id=1267315911',\n",
" 'version': None},\n",
" {'author': 'ZAP Sherbrooke',\n",
" 'author_email': 'info@zapsherbrooke.org',\n",
" 'creator_user_id': 'e87675f6-190a-4c76-a65b-df97a2c542aa',\n",
" 'ext_spatial': 'ville-sherbrooke',\n",
" 'extras_organisation_principale': 'ville-de-sherbrooke',\n",
" 'id': '233354e9-9679-4453-8b41-d82575fb1787',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': '',\n",
" 'maintainer_email': '',\n",
" 'metadata_created': '2015-12-15T00:00:00',\n",
" 'metadata_modified': '2016-12-16T19:05:05.283805',\n",
" 'methodologie': '',\n",
" 'name': 'information-des-connexions',\n",
" 'notes': 'Liste complète des connexions au réseau ZAP estrie\\r\\n'\n",
" '\\r\\n'\n",
" '- id - identifiant unique de la connextion\\r\\n'\n",
" '- node_id - numéro identifiant la borne zap '\n",
" 'utilisé\\r\\n'\n",
" \"- identity - identificant unique de l'appareil \"\n",
" 'connecté\\r\\n'\n",
" '- incomming - Quantité de données téléchargé '\n",
" '(Download) en octet\\r\\n'\n",
" '- outgoing - Quantité de données téléversé (Upload) '\n",
" 'en octet\\r\\n'\n",
" '- created_at - Date de création de la connexion\\r\\n'\n",
" '- user_agent - Identifiant du navigateur utilisé pour '\n",
" 'la connexion',\n",
" 'num_resources': 6,\n",
" 'num_tags': 5,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-22T12:54:12.103590',\n",
" 'description': 'Issu dune initiative du Pôle '\n",
" 'Universitaire, ZAP Sherbrooke '\n",
" 'est un organisme à but non '\n",
" 'lucratif dont la mission est '\n",
" 'de promouvoir le déploiement '\n",
" 'de points daccès Internet '\n",
" 'public sans-fil et gratuit sur '\n",
" 'le territoire de la Ville de '\n",
" 'Sherbrooke.\\r\\n'\n",
" 'Notre objectif est de faire '\n",
" 'rayonner Sherbrooke comme '\n",
" 'lune des villes offrant le '\n",
" 'plus de points daccès '\n",
" 'Internet pour ses citoyens et '\n",
" 'ses visiteurs dans ses lieux '\n",
" 'publics et dans les '\n",
" 'établissements commerciaux les '\n",
" 'plus fréquentés.\\r\\n'\n",
" '\\r\\n'\n",
" 'Si vous œuvrez au sein dun '\n",
" 'organisme communautaire, dune '\n",
" 'association sans but lucratif '\n",
" 'ou possédez un établissement '\n",
" 'commercial (restaurant…) et '\n",
" 'que vous désirez activer un '\n",
" 'point daccès Internet sans '\n",
" 'fil public pour vos visiteurs '\n",
" 'et clients, '\n",
" '[contactez-nous](http://www.zapsherbrooke.org/nous-contacter/) '\n",
" '!',\n",
" 'id': '65ec9a05-e669-4377-8ab2-a093b5af4688',\n",
" 'image_url': '2016-01-20-170628.661786zap-sherbrooke.jpg',\n",
" 'is_organization': True,\n",
" 'name': 'zap-sherbrooke',\n",
" 'revision_id': '4ddfba8b-77a5-421a-a5bf-5ffe96e507d9',\n",
" 'state': 'active',\n",
" 'title': 'ZAP Sherbrooke',\n",
" 'type': 'organization'},\n",
" 'owner_org': '65ec9a05-e669-4377-8ab2-a093b5af4688',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '1819c76b-ca6b-4e99-be3c-79fd90e5a97c',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': 'Information des connexions',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'notPlanned',\n",
" 'url': '',\n",
" 'version': None},\n",
" {'author': 'Léquipe de recherche marketing au CEFRIO',\n",
" 'author_email': 'info@cefrio.qc.ca',\n",
" 'creator_user_id': '6dae464f-b8e9-4024-b26a-e58c62617945',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'organismes',\n",
" 'id': 'ec9a5bab-29ef-41bd-83e5-b17ccab487d8',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2016-07-13T14:15:11.373476',\n",
" 'metadata_modified': '2016-10-24T15:45:14.046565',\n",
" 'methodologie': 'Les réponses complètes des répondants sont '\n",
" 'fournies dans le fichier csv. La plupart des '\n",
" 'questions sont à choix unique, donc les '\n",
" 'réponses à celles-ci sont inscrites '\n",
" 'directement. \\r\\n'\n",
" '\\r\\n'\n",
" 'Cependant, dans le cas des questions 4, 5, 8 '\n",
" 'et 11, il sagit de questions à choix '\n",
" 'multiples. Notez que lorsquil est inscrit « 1 '\n",
" '», cest parce que le répondant a coché le '\n",
" 'choix. \\r\\n',\n",
" 'name': 'enquete-cefrio-2015-utilisateurs',\n",
" 'notes': 'Cette étude a été menée en 2015 par le CEFRIO, le '\n",
" 'Centre facilitant la recherche et linnovation dans '\n",
" 'les organisations à laide des technologies de '\n",
" 'linformation et des communications. Elle visait à '\n",
" 'cerner la réutilisation qui est faite des données et '\n",
" 'à mieux connaître le profil des utilisateurs des '\n",
" 'quatre portails de données ouvertes suivants :\\r\\n'\n",
" '\\r\\n'\n",
" '* Le portail commun du gouvernement du Québec\\r\\n'\n",
" '* Le portail de données ouvertes de la Ville de '\n",
" 'Montréal\\r\\n'\n",
" '* Le portail de données ouvertes de la Ville de '\n",
" 'Québec\\r\\n'\n",
" '* Le portail de données ouvertes de la Ville de '\n",
" 'Sherbrooke\\r\\n'\n",
" '\\r\\n'\n",
" 'Ci-joint sont le questionnaire qui a été utilisé pour '\n",
" 'mener lenquête, ainsi que les réponses aux '\n",
" 'questions. ',\n",
" 'num_resources': 2,\n",
" 'num_tags': 1,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2017-02-14T14:56:34.986786',\n",
" 'description': 'Le CEFRIO accompagne les '\n",
" 'entreprises et organisations '\n",
" 'dans la transformation de '\n",
" 'leurs processus et pratiques '\n",
" \"d'affaires par l'appropriation \"\n",
" 'du numérique. Organisme de '\n",
" \"recherche et d'innovation, le \"\n",
" 'CEFRIO est mandaté par le '\n",
" 'gouvernement du Québec afin de '\n",
" \"contribuer à l'avancement de \"\n",
" 'la société québécoise par le '\n",
" 'numérique. Il recherche, '\n",
" 'expérimente, enquête et fait '\n",
" 'connaître les usages du '\n",
" 'numérique dans tous les volets '\n",
" 'de la société. Son action '\n",
" \"s'appuie sur une équipe \"\n",
" 'expérimentée, un réseau de 90 '\n",
" 'chercheurs associés et invités '\n",
" \"ainsi que l'engagement de plus \"\n",
" 'de 150 membres.\\r\\n',\n",
" 'id': '9054c664-b0b4-49a1-bc52-dc7fe5947f53',\n",
" 'image_url': '2017-02-14-195926.282247CEFRIO-logo.png',\n",
" 'is_organization': True,\n",
" 'name': 'cefrio',\n",
" 'revision_id': '1d7449fe-0a8d-4330-8f9a-f6595f7b5e55',\n",
" 'state': 'active',\n",
" 'title': 'CEFRIO',\n",
" 'type': 'organization'},\n",
" 'owner_org': '9054c664-b0b4-49a1-bc52-dc7fe5947f53',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '5efbd0ac-ed37-4538-8226-1756788a9f58',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': 'Enquête visant à dresser un portrait des utilisateurs '\n",
" 'de portails de données ouvertes au Québec',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'notPlanned',\n",
" 'url': 'http://www.cefrio.qc.ca/ ',\n",
" 'version': None},\n",
" {'author': 'Division de la géomatique',\n",
" 'author_email': '',\n",
" 'creator_user_id': 'e87675f6-190a-4c76-a65b-df97a2c542aa',\n",
" 'ext_spatial': 'ville-sherbrooke',\n",
" 'extras_organisation_principale': 'ville-de-sherbrooke',\n",
" 'id': 'b06580aa-611d-4b5a-a93b-de93e4f488cb',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': '',\n",
" 'maintainer_email': '',\n",
" 'metadata_created': '2015-10-22T17:54:43.762089',\n",
" 'metadata_modified': '2016-05-04T15:37:40.993334',\n",
" 'name': 'courbes-de-niveau',\n",
" 'notes': 'Représentation cartographique des courbes de niveaux '\n",
" 'du territoire de la Ville de Sherbrooke. Courbe de '\n",
" 'niveau : ligne réunissant, sur une carte '\n",
" \"géographique, des points de même cote d'altitude. \"\n",
" '[OQLF]',\n",
" 'num_resources': 5,\n",
" 'num_tags': 5,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-22T12:54:08.495802',\n",
" 'description': 'Les données géomatiques sont '\n",
" 'produites et gérées par '\n",
" \"l'équipe de la Division de la \"\n",
" 'géomatique de la Ville de '\n",
" 'Sherbrooke. Elles sont '\n",
" 'complémentaires aux autres '\n",
" 'données de la Ville de '\n",
" 'Sherbrooke.\\r\\n'\n",
" '\\r\\n'\n",
" 'La Ville de Sherbrooke a lancé '\n",
" 'son portail de données '\n",
" 'ouvertes le 15 novembre 2013. '\n",
" \"Elle s'implique activement au \"\n",
" 'sein du groupe des grandes '\n",
" 'villes du Québec (GVQ) et '\n",
" 'participe au développement de '\n",
" 'standards de diffusion des '\n",
" 'données municipales.',\n",
" 'id': '40e646ad-789a-4531-9861-9d4ef212554e',\n",
" 'image_url': '2016-01-20-170556.161274sherbrooke.jpg',\n",
" 'is_organization': True,\n",
" 'name': 'ville-de-sherbrooke-donnees-geomatiques',\n",
" 'revision_id': '5dcdf05c-99fc-4f1b-99a0-f2c7dc6ed27b',\n",
" 'state': 'active',\n",
" 'title': 'Ville de Sherbrooke - Données '\n",
" 'géomatiques',\n",
" 'type': 'organization'},\n",
" 'owner_org': '40e646ad-789a-4531-9861-9d4ef212554e',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '455c026c-233b-4f31-855e-3a7edf0c22d5',\n",
" 'state': 'active',\n",
" 'title': 'Courbes de niveau',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'asNeeded',\n",
" 'url': 'http://www.ville.sherbrooke.qc.ca/citoyen/vie-sportive-et-recreative/',\n",
" 'version': None},\n",
" {'author': 'ZAP Sherbrooke',\n",
" 'author_email': 'info@zapsherbrooke.org',\n",
" 'creator_user_id': 'e87675f6-190a-4c76-a65b-df97a2c542aa',\n",
" 'ext_spatial': 'ville-sherbrooke',\n",
" 'extras_organisation_principale': 'ville-de-sherbrooke',\n",
" 'id': '5cc3989e-442b-4f25-8049-d39d44421d6f',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': '',\n",
" 'maintainer_email': '',\n",
" 'metadata_created': '2015-10-22T00:00:00',\n",
" 'metadata_modified': '2016-04-20T20:22:04.411918',\n",
" 'methodologie': '',\n",
" 'name': 'zap-points-d-acces',\n",
" 'notes': 'Liste des points ZAP déployés sur le territoire '\n",
" 'estrien',\n",
" 'num_resources': 1,\n",
" 'num_tags': 6,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-22T12:54:12.103590',\n",
" 'description': 'Issu dune initiative du Pôle '\n",
" 'Universitaire, ZAP Sherbrooke '\n",
" 'est un organisme à but non '\n",
" 'lucratif dont la mission est '\n",
" 'de promouvoir le déploiement '\n",
" 'de points daccès Internet '\n",
" 'public sans-fil et gratuit sur '\n",
" 'le territoire de la Ville de '\n",
" 'Sherbrooke.\\r\\n'\n",
" 'Notre objectif est de faire '\n",
" 'rayonner Sherbrooke comme '\n",
" 'lune des villes offrant le '\n",
" 'plus de points daccès '\n",
" 'Internet pour ses citoyens et '\n",
" 'ses visiteurs dans ses lieux '\n",
" 'publics et dans les '\n",
" 'établissements commerciaux les '\n",
" 'plus fréquentés.\\r\\n'\n",
" '\\r\\n'\n",
" 'Si vous œuvrez au sein dun '\n",
" 'organisme communautaire, dune '\n",
" 'association sans but lucratif '\n",
" 'ou possédez un établissement '\n",
" 'commercial (restaurant…) et '\n",
" 'que vous désirez activer un '\n",
" 'point daccès Internet sans '\n",
" 'fil public pour vos visiteurs '\n",
" 'et clients, '\n",
" '[contactez-nous](http://www.zapsherbrooke.org/nous-contacter/) '\n",
" '!',\n",
" 'id': '65ec9a05-e669-4377-8ab2-a093b5af4688',\n",
" 'image_url': '2016-01-20-170628.661786zap-sherbrooke.jpg',\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
" 'is_organization': True,\n",
" 'name': 'zap-sherbrooke',\n",
" 'revision_id': '4ddfba8b-77a5-421a-a5bf-5ffe96e507d9',\n",
" 'state': 'active',\n",
" 'title': 'ZAP Sherbrooke',\n",
" 'type': 'organization'},\n",
" 'owner_org': '65ec9a05-e669-4377-8ab2-a093b5af4688',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'e88fed40-4ba0-434f-8188-c5af1f1a4e84',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': \"ZAP : Points d'accès\",\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'asNeeded',\n",
" 'url': 'http://auth.zapsherbrooke.org/nodeextra/map',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': 'edae56ac-129d-438b-9c34-0f16e69c9e01',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T16:47:20',\n",
" 'metadata_modified': '2016-02-23T15:57:12.704677',\n",
" 'name': 'utilisation-dinternet-a-des-fins-personnelles-par-les-individus-a-partir-de-nimporte-quel-2010',\n",
" 'notes': \"Fait saillant : Le taux d'utilisation d'Internet à \"\n",
" 'des fins personnelles chez les personnes de 55 ans et '\n",
" \"plus au Québec se révèle plus faible qu'en Ontario et \"\n",
" \"que dans l'ensemble du Canada. Source\\xa0: \"\n",
" 'Statistique Canada, Enquête canadienne sur '\n",
" \"l'utilisation d'Internet, compilation spéciale, 2010.\",\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'f97e7aa3-0eb3-4960-9bba-49ad43357b0b',\n",
" 'state': 'active',\n",
" 'title': \"Utilisation d'Internet à des fins personnelles par \"\n",
" \"les individus à partir de n'importe quel endroit, \"\n",
" \"selon certains groupes d'âge, Québec, Ontario et \"\n",
" 'Canada, 2010',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '72484e1e-5c01-441a-b30f-c73158c30b37',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:41:09',\n",
" 'metadata_modified': '2016-02-23T15:57:09.882339',\n",
" 'name': 'taux-dactivite-chez-les-personnes-agees-de-55-ans-et-plus-quebec-ontario-1976-2010',\n",
" 'notes': \"Fait saillant : Au Québec, le taux d'activité chez \"\n",
" \"les 55-59 ans a progressé plus rapidement qu'en \"\n",
" 'Ontario depuis le début des années 2000 réduisant '\n",
" \"ainsi l'écart de façon notable par rapport à sa \"\n",
" 'province voisine. Source : Statistique Canada, '\n",
" 'Revue chronologique de la population active, '\n",
" '71F0004XVB, 2010',\n",
" 'num_resources': 2,\n",
" 'num_tags': 3,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'e3bd83ef-380c-4c53-894e-bb3bbcf9b8e5',\n",
" 'state': 'active',\n",
" 'title': \"Taux d'activité chez les personnes âgées de 55 ans et \"\n",
" 'plus, Québec, Ontario, 1976-2010',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': 'f43be6fe-e758-455c-a027-33df8c732f65',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:55:59',\n",
" 'metadata_modified': '2016-02-23T15:56:33.883518',\n",
" 'name': 'rapport-de-dependance-demographique-quebec-1971-2051',\n",
" 'notes': 'Fait saillant : Le rapport de dépendance '\n",
" 'démographique augmentera de manière significative au '\n",
" 'cours des prochaines années. Selon la projection de '\n",
" 'lISQ (scénario de référence), le nombre de personnes '\n",
" 'de 65 ans et plus pour 100 personnes de 20-64 ans '\n",
" 'passera de 25 en 2011 à plus de 50 en 2051. '\n",
" 'Sources: Statistique Canada, Estimations '\n",
" 'démographiques (1971 à 2011).\\n'\n",
" '(2016 à 2031) Institut de la statistique du Québec.\\n'\n",
" 'Perspectives démographiques du Québec et des régions, '\n",
" '2006-2056, édition 2009',\n",
" 'num_resources': 2,\n",
" 'num_tags': 3,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '3ecfebca-feec-40e2-a862-b171501a4c5f',\n",
" 'state': 'active',\n",
" 'title': 'Rapport de dépendance démographique, Québec, '\n",
" '1971-2051',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '0243430d-6512-4099-a55f-00575d95aa5c',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:50:22',\n",
" 'metadata_modified': '2016-02-23T15:56:31.573571',\n",
" 'name': 'pyramide-des-ages-animee',\n",
" 'notes': 'Fait saillant : La pyramide des âges illustre la '\n",
" 'prépondérance des générations issues du baby-boom de '\n",
" \"l'après-guerre (1946-1966).\\n\"\n",
" 'Leur progression dans la pyramide sera la cause '\n",
" \"principale de l'augmentation rapide du nombre de \"\n",
" 'personnes de 65 ans et plus au cours des prochaines '\n",
" 'années.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '87ab40af-1747-4ed6-b038-d97f061b78f7',\n",
" 'state': 'active',\n",
" 'title': 'Pyramide des âges animée',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': 'be845635-c8ab-4f95-a4dd-06d1bdc5497a',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:46:19',\n",
" 'metadata_modified': '2016-02-23T15:56:29.682755',\n",
" 'name': 'proportion-et-effectif-des-grands-groupes-dage-quebec-1971-2051',\n",
" 'notes': 'Fait saillant : Entre 1971 et 2011, la proportion de '\n",
" 'personnes âgées de 65 ans et plus dans la population '\n",
" 'québécoise a plus que doublé et leur nombre a été '\n",
" 'multiplié par trois. Dici 2051, leur proportion '\n",
" 'devrait passer de 16 % à 28 %. Sources: '\n",
" 'Statistique Canada, Estimations démographiques (1971 '\n",
" 'à 2011).\\n'\n",
" 'Institut de la statistique du Québec, Perspectives '\n",
" 'démographiques 2006-2056, Édition 2009 (2016 à '\n",
" '2051). \\n'\n",
" 'Note : Estimations définitives de 1971 à 2011 et '\n",
" 'Projections (scénario A, ISQ 2009) de 2016 à 2051.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '9622082f-0ba8-4f56-8b37-12fc886c0615',\n",
" 'state': 'active',\n",
" 'title': \"Proportion et effectif des grands groupes d'âge, \"\n",
" 'Québec, 1971-2051',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '56430dd5-962b-4ee3-a831-2efd27080bb0',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:41:19',\n",
" 'metadata_modified': '2016-02-23T15:56:29.245185',\n",
" 'name': 'proportion-et-effectif-des-65-ans-et-plus-quebec-regions-administratives-et-regions-metrop-2031',\n",
" 'notes': 'Fait saillant : De grandes disparités existent entre '\n",
" 'les régions quant au vieillissement de la population, '\n",
" 'mais toutes connaîtront une augmentation marquée de '\n",
" 'la proportion des aînés dans la population totale, de '\n",
" 'même quune croissance importante de leur '\n",
" 'effectif. Sources: Statistique '\n",
" 'Canada, Estimations démographiques (1971 à 2011).\\n'\n",
" 'Institut de la statistique du Québec, Perspectives '\n",
" 'démographiques 2006-2056, Édition 2009 (2016 à 2051)',\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'fc7941c1-733c-41a0-b8ae-a35972b59f69',\n",
" 'state': 'active',\n",
" 'title': 'Proportion et effectif des 65 ans et plus, Québec, '\n",
" 'régions administratives et régions métropolitaines '\n",
" '(RMR), de 1996 à 2031',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '021b4ac8-3988-43ce-a75b-246aaa70ce05',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:59:47',\n",
" 'metadata_modified': '2016-02-23T15:56:17.115597',\n",
" 'name': 'part-des-titulaires-dun-grade-universitaire-dans-la-population-groupes-dage-choisis-c-1990-2011',\n",
" 'notes': 'Fait saillant : De 1990 à 2011, au Québec, la part '\n",
" \"des titulaires d'un grade universitaire augmente chez \"\n",
" \"les 65 ans et plus, tout en demeurant moindre qu'au \"\n",
" \"Canada et qu'en Ontario. Source : Adapté par \"\n",
" \"l'Institut de la statistique du Québec (ISQ) de \"\n",
" 'Statistique Canada (SC), Compilation spéciale, '\n",
" 'Tableau Qc1t02an -\\xa0Estimations de la population '\n",
" \"active selon le niveau de scolarité, le groupe d'âge, \"\n",
" 'le sexe, Canada, province, région infraprovinciale, '\n",
" 'moyenne annuelle, 2012. Cela ne constitue pas une '\n",
" 'approbation de ce produit par Statistique Canada.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '664bbd91-6144-49be-806a-67e27859c21b',\n",
" 'state': 'active',\n",
" 'title': \"Part des titulaires d'un grade universitaire dans la \"\n",
" \"population, groupes d'âge choisis, Canada, Québec, \"\n",
" 'Ontario, 1990-2011',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': '6dae464f-b8e9-4024-b26a-e58c62617945',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '69bcca6e-bed4-4487-8c86-9843caad186c',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T18:04:01',\n",
" 'metadata_modified': '2016-02-23T15:56:05.501935',\n",
" 'name': 'niveaux-de-competence-selon-le-groupe-dage-et-le-domaine-population-de-16-ans-et-plus-queb-2003',\n",
" 'notes': 'Fait saillant : La proportion de personnes qui '\n",
" \"n'atteint pas le seuil de compréhension souhaitable \"\n",
" \"en lecture tend à croître avec l'âge.\\n\"\n",
" '\\n'\n",
" 'Source\\xa0: Statistique Canada, Enquête '\n",
" \"internationale sur l'alphabétisation et les \"\n",
" 'compétences des adultes (EIACA), 2003.\\n'\n",
" 'Compilation : Institut de la statistique du Québec.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '238b0bc5-4340-44fa-a31f-a88d10650c68',\n",
" 'state': 'active',\n",
" 'title': \"Niveaux de compétence selon le groupe d'âge et le \"\n",
" 'domaine, population de 16 ans et plus, Québec, 2003',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': 'd65a50d1-4577-46be-9e8f-0d502a4e7cad',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T16:39:08',\n",
" 'metadata_modified': '2016-02-23T15:55:18.689986',\n",
" 'name': 'individus-utilisant-internet-a-partir-de-nimporte-quel-endroit-ayant-commande-un-produit-o-2010',\n",
" 'notes': 'Fait saillant : Près de trois internautes sur dix '\n",
" 'âgés de 65 ans et plus ont commandé un produit ou '\n",
" 'service sur Internet en 2010. Source\\xa0: '\n",
" 'Statistique Canada, Enquête canadienne sur '\n",
" \"l'utilisation d'Internet, compilation spéciale, 2010.\",\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'f96a9f08-8eac-4e1f-b2e9-de0aaa383e9f',\n",
" 'state': 'active',\n",
" 'title': \"Individus utilisant Internet à partir de n'importe \"\n",
" 'quel endroit ayant commandé un produit ou service sur '\n",
" \"internet, selon le groupe d'âge, Québec, Ontario et \"\n",
" 'Canada, 2010',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '7400fe0a-9a9a-45d3-828c-8a078b21cdad',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:06:07',\n",
" 'metadata_modified': '2016-02-23T15:55:05.246609',\n",
" 'name': 'evolution-de-lage-moyen-de-la-prise-de-la-retraite-quebec-ontario-canada-1990-2011',\n",
" 'notes': 'Fait saillant : Après avoir atteint son plus bas '\n",
" \"niveau en 1998, l'âge moyen de la prise de la \"\n",
" 'retraite au Québec avoisine 61 ans en 2011. '\n",
" 'Source: Statistique Canada, Revue chronologique de la '\n",
" 'population active, 71F004XVB, 2011.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 5,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'f73d613a-bfaa-48da-954d-62d8be482b2a',\n",
" 'state': 'active',\n",
" 'title': \"Évolution de l'âge moyen de la prise de la retraite, \"\n",
" 'Québec, Ontario, Canada, 1990-2011',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Événéments - SOCIÉTIC',\n",
" 'author_email': '',\n",
" 'creator_user_id': 'e87675f6-190a-4c76-a65b-df97a2c542aa',\n",
" 'ext_spatial': 'ville-sherbrooke',\n",
" 'extras_organisation_principale': 'ville-de-sherbrooke',\n",
" 'id': '3a20b6cb-4658-49cc-adc5-102c386319a4',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': '',\n",
" 'maintainer_email': '',\n",
" 'metadata_created': '2015-12-15T00:00:00',\n",
" 'metadata_modified': '2016-02-23T15:55:04.897124',\n",
" 'methodologie': '',\n",
" 'name': 'evenements-societic',\n",
" 'notes': '',\n",
" 'num_resources': 2,\n",
" 'num_tags': 3,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-22T12:54:16.165063',\n",
" 'description': 'Fondé en 1980, le regroupement '\n",
" 'TI Estrie rassemble de '\n",
" 'nombreux intervenants du '\n",
" 'secteur des TIC en Estrie. '\n",
" 'LOBNL se veut une tribune '\n",
" \"d'échange, un réseau de \"\n",
" 'contacts et un lieu de '\n",
" \"diffusion d'informations \"\n",
" 'reliées aux TIC.\\r\\n'\n",
" 'En 2014, notre désir de nous '\n",
" 'redéfinir nous pousse à '\n",
" 'actualiser notre image de '\n",
" 'marque et modifier notre '\n",
" 'programmation afin de '\n",
" 'continuer à répondre aux '\n",
" 'attentes de nos membres. Notre '\n",
" 'nouveau branding, SociéTIC, '\n",
" 'allie le mot «société», soit '\n",
" \"un groupe d'individus ayant \"\n",
" 'des intérêts communs et '\n",
" 'établissant des liens entre '\n",
" \"eux et l'acronyme TIC \"\n",
" \"(Technologie de l'information \"\n",
" 'et des communications). En '\n",
" 'second niveau, le terme '\n",
" '«éthique» qui rappelle aux '\n",
" 'bonnes pratiques présentées '\n",
" 'lors de nos conférences.\\r\\n'\n",
" 'Malgré la nouvelle formule de '\n",
" 'notre organisme, notre plus '\n",
" 'grand désir est de continuer '\n",
" 'de servir nos membres et de '\n",
" 'nous démarquer en tant que '\n",
" 'guichet privilégié '\n",
" 'dinformations associées aux '\n",
" 'TIC en Estrie. Nous '\n",
" 'poursuivrons ainsi notre '\n",
" 'mission de favoriser la '\n",
" 'visibilité de nos compétences '\n",
" 'régionales et doffrir des '\n",
" 'conférences de qualité à prix '\n",
" 'accessible.\\r\\n'\n",
" '\\r\\n'\n",
" 'Puisque le succès de notre '\n",
" 'organisme passe par la '\n",
" 'participation de ses membres, '\n",
" 'nous espérons que vous '\n",
" 'continuerez à participer '\n",
" 'activement à nos activités '\n",
" '!\\r\\n'\n",
" 'https://societic.ca/',\n",
" 'id': 'c87e366e-7e62-4f24-8450-b409042befc0',\n",
" 'image_url': '2016-01-20-170503.027734societic1.png',\n",
" 'is_organization': True,\n",
" 'name': 'societic',\n",
" 'revision_id': '8fec1ec0-0d67-4618-99f5-b900796fbf69',\n",
" 'state': 'active',\n",
" 'title': 'SociéTIC',\n",
" 'type': 'organization'},\n",
" 'owner_org': 'c87e366e-7e62-4f24-8450-b409042befc0',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '83cdabfe-e3ca-4e46-8ea8-f56857b70816',\n",
" 'state': 'active',\n",
" 'temporal': '',\n",
" 'title': 'Événements - Sociétic',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'notPlanned',\n",
" 'url': '',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': '5d0941ea-39c2-4d8a-9009-7b2ff5a94cf2',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T17:00:47',\n",
" 'metadata_modified': '2016-02-23T15:54:46.586091',\n",
" 'name': 'croissance-relative-de-la-population-de-differents-groupe-dage-quebec-2011-2051',\n",
" 'notes': 'Fait saillant : Dici à 2051, la population de 65 ans '\n",
" 'et plus connaîtra une forte croissance pendant que '\n",
" 'les groupes dâge plus jeunes enregistreront une '\n",
" 'croissance beaucoup plus modérée, ou parfois même '\n",
" 'négative. Parmi les aînés, ce sont les groupes les '\n",
" 'plus âgés qui connaîtront la croissance la plus '\n",
" 'marquée par rapport à 2011. Sources: Statistique '\n",
" 'Canada, Estimations démographiques (2011).\\n'\n",
" 'Institut de la statistique du Québec, Perspectives '\n",
" 'démographiques 2006-2056, Édition 2009 (2016 à 2051)',\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '72e5ebcb-68fb-4981-8a83-ca3e77dfc8bf',\n",
" 'state': 'active',\n",
" 'title': 'Croissance relative de la population de différents '\n",
" \"groupe d'âge, Québec, 2011-2051\",\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': 'cc4f4736-c933-453c-867f-8dba59198674',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T16:26:05',\n",
" 'metadata_modified': '2016-02-23T15:54:08.801030',\n",
" 'name': 'activites-en-ligne-des-individus-qui-utilisent-internet-a-partir-de-nimporte-quel-endroit-2010',\n",
" 'notes': 'Fait saillant : Utiliser le courrier électronique, '\n",
" 'chercher des renseignements médicaux ou liés à la '\n",
" 'santé, se renseigner sur des investissements, se '\n",
" 'renseigner sur des événements communautaires, '\n",
" 'samuser à des jeux en ligne et faire un appel '\n",
" 'téléphonique sont des activités qui ne diminuent pas '\n",
" \"en popularité avec l'âge chez les internautes. \"\n",
" 'Source : Statistique Canada, Enquête canadienne sur '\n",
" \"l'utilisation d'Internet, compilation spéciale, 2010.\",\n",
" 'num_resources': 2,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': 'dc2c4af7-1dc3-43f3-85ba-ade883885084',\n",
" 'state': 'active',\n",
" 'title': 'Activités en ligne des individus qui utilisent '\n",
" \"internet à partir de n'importe quel endroit, selon le \"\n",
" \"groupe d'âge, Québec, 2010\",\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None},\n",
" {'author': 'Institut de la statistique du Québec',\n",
" 'author_email': 'cid@stat.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'id': 'c543570e-7e37-4b7f-b1e7-10f901238128',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2012-06-26T18:03:56',\n",
" 'metadata_modified': '2016-02-23T15:54:08.378773',\n",
" 'name': 'activite-physique-de-loisir-selon-le-sexe-et-lage-population-de-15-ans-et-plus-quebec-2007-2008',\n",
" 'notes': 'Fait saillant : Si près du quart des personnes de 25 '\n",
" \"à 44 ans sont sédentaires, c'est le cas d'environ 39 \"\n",
" '% des personnes de 75 ans et plus. Source : '\n",
" 'Statistique Canada, Enquête sur la santé dans les '\n",
" 'collectivités canadiennes, 2007-2008, fichier de '\n",
" 'partage.\\n'\n",
" 'Compilation : Institut de la statistique du '\n",
" 'Québec. \\n'\n",
" 'Mise en garde : Toutes les estimations présentées ont '\n",
" 'une bonne précision (coefficient de variation '\n",
" 'inférieur à 15 %).\\n'\n",
" \"Environ 10 % des personnes de 75 ans et plus n'ont \"\n",
" \"pas répondu aux questions sur l'activité physique de \"\n",
" 'loisir.',\n",
" 'num_resources': 2,\n",
" 'num_tags': 3,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T12:05:06.074888',\n",
" 'description': 'LInstitut de la statistique '\n",
" 'du Québec est lorganisme '\n",
" 'gouvernemental responsable de '\n",
" 'produire, danalyser et de '\n",
" 'diffuser des informations '\n",
" 'statistiques officielles, '\n",
" 'objectives et de qualité pour '\n",
" 'le Québec. Celles-ci '\n",
" 'enrichissent les '\n",
" 'connaissances, éclairent les '\n",
" 'débats et appuient la prise de '\n",
" 'décision des différents '\n",
" 'acteurs de la société '\n",
" 'québécoise.',\n",
" 'id': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'image_url': '2016-02-12-203801.927490Logo-ISQ-STATwsig.gif',\n",
" 'is_organization': True,\n",
" 'name': 'isq',\n",
" 'revision_id': '8ab6b9da-6604-400e-af9a-9c2815b0ed24',\n",
" 'state': 'active',\n",
" 'title': 'Institut de la statistique du Québec',\n",
" 'type': 'organization'},\n",
" 'owner_org': '0fd1cbe2-46bc-4677-9690-35f5127220e4',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'revision_id': '84d4c78e-cfdb-451e-ab81-b36e79937ed2',\n",
" 'state': 'active',\n",
" 'title': \"Activité physique de loisir selon le sexe et l'âge, \"\n",
" 'population de 15 ans et plus, Québec, 2007-2008',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'annual',\n",
" 'url': 'http://www.stat.gouv.qc.ca',\n",
" 'version': None}],\n",
" 'revision_id': '31fa977a-f0d4-4351-a26e-1fdaa66166a2',\n",
" 'state': 'active',\n",
" 'tags': [],\n",
" 'title': 'Éducation et recherche',\n",
" 'type': 'group'}\n"
]
}
],
"source": [
"assert response_dict['success'] is True\n",
"result = response_dict['result']\n",
"pprint.pprint(result)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Lister le contenu d'un package"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
"source": [
"data_string = json.dumps({'id': u'6fd957e2-d988-4420-8c87-0734f1133a04'}).encode(\"utf-8\")"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"response = urllib.request.urlopen('https://www.donneesquebec.ca/recherche/api/action/package_show',\n",
" data_string)\n",
"assert response.code == 200"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
"source": [
"response_dict = json.loads(response.read())"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'author': \"Ministère de l'Éducation et de l'Enseignement Supérieur\",\n",
" 'author_email': 'informationsgeographiques@education.gouv.qc.ca',\n",
" 'creator_user_id': 'ab00ad09-22b2-47ac-aa53-727f87686b51',\n",
" 'ext_spatial': 'province-quebec',\n",
" 'extras': [],\n",
" 'extras_organisation_principale': 'gouvernement-du-quebec',\n",
" 'groups': [{'description': \"Domaine d'affaires correspondant au développement \"\n",
" 'et au maintien du système éducatif ainsi que '\n",
" \"l'accès à celui-ci. Cette catégorie inclut \"\n",
" \"également tout ce qui a trait à l'innovation et à \"\n",
" 'la recherche industrielle et scientifique.',\n",
" 'display_name': 'Éducation et recherche',\n",
" 'id': '9cc61d74-f537-4002-b3e0-86d840c157c5',\n",
" 'image_display_url': 'https://www.donneesquebec.ca/recherche/images/categories/education-recherche.gif',\n",
" 'name': 'education-recherche',\n",
" 'title': 'Éducation et recherche'}],\n",
" 'id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'isopen': True,\n",
" 'language': 'FR',\n",
" 'license_id': 'cc-by',\n",
" 'license_title': 'Creative Commons - Attribution 4.0',\n",
" 'license_url': 'https://www.donneesquebec.ca/fr/licence/#cc-by',\n",
" 'maintainer': None,\n",
" 'maintainer_email': None,\n",
" 'metadata_created': '2013-11-19T09:36:16',\n",
" 'metadata_modified': '2017-03-14T14:22:16.707520',\n",
" 'methodologie': '',\n",
" 'name': 'localisation-des-etablissements-denseignement-du-reseau-scolaire-au-quebec',\n",
" 'notes': 'Localisation des écoles pour le réseau public (francophone, '\n",
" 'anglophone et statut particulier) incluant les ordres '\n",
" \"d'enseignement préscolaire, primaire, secondaire, formation \"\n",
" \"professionnelle et l'enseignement des adultes. \\r\\n\"\n",
" '\\r\\n'\n",
" \"De plus, la localisation des établissements d'enseignement des \"\n",
" 'réseaux collégial et universitaire ainsi que les écoles privés et '\n",
" 'gouvernementale est également disponible.',\n",
" 'num_resources': 8,\n",
" 'num_tags': 2,\n",
" 'organization': {'approval_status': 'approved',\n",
" 'created': '2015-10-26T13:04:11.921347',\n",
" 'description': 'En vertu de sa loi constitutive, le '\n",
" 'Ministère réalise ses activités dans les '\n",
" 'domaines de léducation préscolaire et de '\n",
" 'lenseignement primaire, secondaire, '\n",
" 'collégial et universitaire, de la recherche, '\n",
" \"de l'aide financière aux études ainsi que \"\n",
" 'dans les domaines du loisir et du sport.',\n",
" 'id': '290c7e13-a963-4ce4-8c89-b2da75021c18',\n",
" 'image_url': '2016-03-15-180532.399024MEESw2.gif',\n",
" 'is_organization': True,\n",
" 'name': 'mels',\n",
" 'revision_id': '14221a37-d54d-4259-92f5-8b523b35cc57',\n",
" 'state': 'active',\n",
" 'title': \"Ministère de l'Éducation et de l'Enseignement \"\n",
" 'supérieur',\n",
" 'type': 'organization'},\n",
" 'owner_org': '290c7e13-a963-4ce4-8c89-b2da75021c18',\n",
" 'private': False,\n",
" 'relationships_as_object': [],\n",
" 'relationships_as_subject': [],\n",
" 'resources': [{'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2016-03-17T17:10:05.677839',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'HTML',\n",
" 'hash': '',\n",
" 'id': '6076f9de-0d3d-45b8-8dd3-8d318d496de0',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Carte interactive (IGO)',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 0,\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'standardqc': '',\n",
" 'state': 'active',\n",
" 'url': 'https://www.donneesquebec.ca/igo/apercu/?layeractif=MELS_SCOL_UNIVERSITAIRE_P,MELS_SCOL_COLLEGIAL_P,INFRA_SCOL_PPS_PRIVE_P,INFRA_SCOL_PPS_PUBLIC_P,MELS_SCOL_UNIVERSITAIRE_P&zoom=8',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575051',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'WMS',\n",
" 'hash': '',\n",
" 'id': '86dfbab9-ca65-4f4f-b308-a634d56f6678',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Accéder au WMS du IGO-Navigateur',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 1,\n",
" 'resource_locator_function': '',\n",
" 'resource_locator_protocol': 'OGC:WMS',\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'state': 'active',\n",
" 'url': 'https://geoegl.msp.gouv.qc.ca/ws/igo_gouvouvert.fcgi?request=getcapabilities&version=1.3.0&service=wms',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575076',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'WFS',\n",
" 'hash': '',\n",
" 'id': '3aade294-7936-4c4d-8e5f-dc83646dae02',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Un service Web dentités géographiques ou WFS est '\n",
" 'disponible',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 2,\n",
" 'resource_locator_function': '',\n",
" 'resource_locator_protocol': 'OGC:WFS',\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'state': 'active',\n",
" 'url': 'https://geoegl.msp.gouv.qc.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getcapabilities',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575081',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'SHP',\n",
" 'hash': '',\n",
" 'id': '03380a9f-6e3b-4335-8733-e9246b63325a',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Établissement scolaire public',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 3,\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'standardqc': '',\n",
" 'state': 'active',\n",
" 'url': 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=INFRA_SCOL_PPS_PUBLIC_P&outputformat=shp',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575087',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'SHP',\n",
" 'hash': '',\n",
" 'id': 'e175a082-23cc-4434-837c-4d8a73679ef2',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Établissement scolaire privé',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 4,\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'standardqc': '',\n",
" 'state': 'active',\n",
" 'url': 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=INFRA_SCOL_PPS_PRIVE_P&outputformat=shp',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575092',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'SHP',\n",
" 'hash': '',\n",
" 'id': 'bfd5d6ec-446f-4514-bad0-2ece05f8f4b6',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Établissement scolaire gouvernemental',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 5,\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'standardqc': '',\n",
" 'state': 'active',\n",
" 'url': 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=INFRA_SCOL_GOUVERNEMENTAL_P&outputformat=shp',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575097',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'SHP',\n",
" 'hash': '',\n",
" 'id': '8892cee0-af21-4d6a-a725-9e7a31ea5f4c',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Établissement scolaire collégial',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 6,\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'standardqc': '',\n",
" 'state': 'active',\n",
" 'url': 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=MELS_SCOL_COLLEGIAL_P&outputformat=shp',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None},\n",
" {'cache_last_updated': None,\n",
" 'cache_url': None,\n",
" 'created': '2015-12-17T14:00:09.575102',\n",
" 'datastore_active': False,\n",
" 'description': '',\n",
" 'format': 'SHP',\n",
" 'hash': '',\n",
" 'id': '78d88379-3eb4-4243-81d4-75b5d9056788',\n",
" 'last_modified': None,\n",
" 'mimetype': None,\n",
" 'mimetype_inner': None,\n",
" 'name': 'Établissement scolaire universitaire',\n",
" 'package_id': '6fd957e2-d988-4420-8c87-0734f1133a04',\n",
" 'position': 7,\n",
" 'resource_type': None,\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'size': None,\n",
" 'standardqc': '',\n",
" 'state': 'active',\n",
" 'url': 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=MELS_SCOL_UNIVERSITAIRE_P&outputformat=shp',\n",
" 'url_type': None,\n",
" 'webstore_last_updated': None,\n",
" 'webstore_url': None}],\n",
" 'revision_id': 'e4a11046-0d51-4a14-b3aa-4a5c512cd970',\n",
" 'state': 'active',\n",
" 'tags': [{'display_name': 'division administrative',\n",
" 'id': 'dfbf6ed9-3eb8-4fb5-8648-0fefe84869b8',\n",
" 'name': 'division administrative',\n",
" 'state': 'active',\n",
" 'vocabulary_id': None},\n",
" {'display_name': 'territoire',\n",
" 'id': 'c10b914d-2d5c-4588-936b-78da36615015',\n",
" 'name': 'territoire',\n",
" 'state': 'active',\n",
" 'vocabulary_id': None}],\n",
" 'temporal': '',\n",
" 'title': \"Localisation des établissements d'enseignement du réseau scolaire \"\n",
" 'au Québec',\n",
" 'type': 'dataset',\n",
" 'update_frequency': 'asNeeded',\n",
" 'url': '',\n",
" 'version': None}\n"
]
}
],
"source": [
"assert response_dict['success'] is True\n",
"result = response_dict['result']\n",
"pprint.pprint(result)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Liste des URL des ressources de ce package qui sont au format SHP"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"['https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=INFRA_SCOL_PPS_PUBLIC_P&outputformat=shp',\n",
" 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=INFRA_SCOL_PPS_PRIVE_P&outputformat=shp',\n",
" 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=INFRA_SCOL_GOUVERNEMENTAL_P&outputformat=shp',\n",
" 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=MELS_SCOL_COLLEGIAL_P&outputformat=shp',\n",
" 'https://www.donneesquebec.ca/ws/igo_gouvouvert.fcgi?service=wfs&version=1.1.0&request=getfeature&typename=MELS_SCOL_UNIVERSITAIRE_P&outputformat=shp']"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"[i[u'url'] for i in result[u'resources'] if i[u'format'] == u'SHP']"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
}
},
"nbformat": 4,
"nbformat_minor": 1
}