Skip to content

Instantly share code, notes, and snippets.

@georgiana-b
Created August 11, 2016 11:43
Show Gist options
  • Save georgiana-b/d6da60bf5e6b0680711a45d254a37fc3 to your computer and use it in GitHub Desktop.
Save georgiana-b/d6da60bf5e6b0680711a45d254a37fc3 to your computer and use it in GitHub Desktop.
The `organization` field has no value => The corresponding `publisher_id` of the resource can't be determined by CkanGenerator
{'author': None,
'author_email': 'info@article19.org',
'extras': [{'id': 'd45b01bc-52d4-4f5a-bb9f-8273e7212d3d',
'key': 'activity_count',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': '1'},
{'id': '82820ebf-154d-4b16-b2aa-98125c694589',
'key': 'activity_period-from',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': '2012-04-01'},
{'id': '849c1457-7c09-4104-9f07-c2fe2292860e',
'key': 'activity_period-to',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': '2012-06-30'},
{'id': '96a1ff44-e383-4c71-a770-b27ddabf5b67',
'key': 'archive_file',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': 'no'},
{'id': 'b4ea38ce-5287-4efd-90ec-e589f3061a89',
'key': 'country',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': ''},
{'id': '57e45c51-e9db-4014-b8d4-6c21246055e8',
'key': 'data_updated',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': '2012-11-24'},
{'id': 'f9928d1e-8b88-462b-afb0-e72d995d1019',
'key': 'filetype',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': 'activity'},
{'id': 'a6c7e954-fb3a-470a-9143-06b029008951',
'key': 'language',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': 'en'},
{'id': '4eb2ad7b-6cd5-4bbb-80c4-bc0ebb4e3be9',
'key': 'verified',
'package_id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'value': 'no'}],
'groups': [],
'id': 'a4bc5cc8-90c8-4a38-af51-de69b75cb30b',
'isopen': False,
'license_id': None,
'license_title': None,
'maintainer': None,
'maintainer_email': None,
'metadata_created': '2012-08-24T15:20:46.055435',
'metadata_modified': '2012-11-23T00:37:54.825361',
'name': 'art19-activity',
'notes': "ARTICLE 19's PPA has four objectives designed to challenge "
'threats to freedom of expression and increase the impact of '
"highly innovative 'niche NGOs' delivering transparency "
'initiatives. A19 will: 1 Defend Freedom of Expression (FoE) and '
'transparency in a multi-polar world: contribute to halting '
'democratic setbacks; re-enforce the regional and international '
'policies for poverty alleviation through a focus on transparency '
'and the free flow of information (MDG 8). 2 Enhance FoE and '
'transparency in a networked world: harness the power of '
'Information and Communication Technologies (ICTs) and media to '
'implement the MDGs by ensuring that FoE principles, including '
'that of universal access, are fully integrated in legal '
'regulations and policies. 3) Protect FoE and transparency against '
'its aggressors: strengthen the role and effectiveness of '
'institutions which are meant to safeguard accountability and '
'ensure that State and Non-State Actors are held accountable for '
'abusing FoE and transparency standards essential to the '
'realisation of all MDGs. 4) Narrow the gaps between principles '
'and practice to deliver real benefits for the poor: empower '
'people living in poverty and their CSOs to access information '
'they need to advocate for better services and tackle some of the '
'causes and consequences of poverty (MDG 3, 5 and 7). To achieve '
'these objectives, A19 will enable CSOs, CBOs, network and '
'processes and strengthen their capacities to secure accountable '
'institutions, through legal and policy support, skills transfer, '
'trainings, and coalition building. We will work simultaneously at '
'grassroots, national and international levels, to ensure that '
'freedom of expression and information grows roots in institutions '
'and society, and fulfils its potential as a mechanism for citizen '
'empowerment and poverty alleviation.\r\n',
'num_resources': 1,
'num_tags': 0,
'organization': None,
'owner_org': None,
'private': False,
'relationships_as_object': [],
'relationships_as_subject': [],
'resources': [{'cache_last_updated': None,
'cache_url': None,
'created': None,
'description': '',
'format': 'iati-xml',
'hash': '',
'id': 'cff5c3da-c783-4196-adf1-e410098328fc',
'last_modified': '2012-11-22T18:37:54.449169',
'mimetype': 'text/html',
'mimetype_inner': None,
'name': None,
'position': 0,
'resource_group_id': 'c476622a-ff57-4efd-a0a7-44abf69283f2',
'resource_type': None,
'revision_id': 'bc7daac7-45d6-451c-b360-a3874722448a',
'revision_timestamp': '2012-11-23T00:37:54.825361',
'size': '11974',
'state': 'active',
'tracking_summary': {'recent': 0, 'total': 0},
'url': 'https://docs.google.com/file/d/0B2POdQu31gxyMWRKWll2dDZUS2s/edit',
'webstore_last_updated': None,
'webstore_url': None}],
'revision_id': '42c44f2a-0f26-4483-8a0a-8010b2d845f8',
'revision_timestamp': '2012-08-24T15:20:46.055435',
'state': 'active',
'tags': [],
'title': 'PPA Qtr 1',
'tracking_summary': {'recent': 0, 'total': 0},
'type': 'dataset',
'url': None,
'version': None}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment