{"action":"created","comment":{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments/244773295","pull_request_review_id":188725919,"id":244773295,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDc3MzI5NQ==","diff_hunk":"@@ -0,0 +1,438 @@\n+# Jinja Filters Used by Schemas\n+\n+\n+## format_number\n+Returns the given number with the appropriate thousands grouping and decimal separator as determined by the locale.\n+Uses Babel's number.py and format_decimal.\n+\n+##### Parameters: \n+- value: A single numeric value.\n+\n+##### Context:\n+Most commonly used to display a previous answer's numeric value in a following question.\n+```\n+Of the <em>{{answers['total-number-employees']|format_number}}</em> total employees employed on 14 December 2018, how many male and female employees worked the following hours?\n+```\n+\n+##### Examples:\n+```\n+Input:          Output:\n+\"100000000\"     \"100,000,000\"\n+\"123.40\"        \"123.4\"\n+```\n+\n+## format_currency\n+Returns a formatted currency value. Uses Babel's number.py and format_currency.\n+\n+##### Parameters: \n+- value: A single numeric value.\n+- currency: An optional currency in format 'GBP' (default), 'EUR' etc.\n+\n+##### Context:\n+Most commonly used to display a previous answer's currency value in a following question.\n+```\n+Of the <em>{{format_currency(answers['total-retail-turnover-answer'])}}</em> total retail turnover, what was the value of internet sales?\n+```\n+\n+##### Examples:\n+```\n+Input:              Output:\n+(\"11.99\", \"GBP\")    \"<span class='date'>£11.99</span>\"\n+(\"11000\", \"USD\")    \"<span class='date'>US$11,000.00</span>\"\n+```\n+\n+## format_address_list\n+This function format_address_list accepts two addresses, a user submitted address and a metadata address. \n+If all the items in the user entered address list are 'Undefined' (nothing in answer_store) then we retrieve the metadata.\n+The address list is returned with break points between each address line.\n+\n+##### Parameters: \n+- user_entered_address: List of address values from answers\n+- metadata_address: List of address values from metadata\n+\n+##### Context:\n+Used to display a full address for use in a description.\n+```\n+{{ format_address_list ([answers['address-line1'], answers['address-line2'], answers['locality'], answers['town-name'], answers['postcode']], [metadata['address_line1'], metadata['address_line2'], metadata['locality'], metadata['town_name'], metadata['postcode']]) }}\n+```\n+\n+##### Examples:\n+```\n+first_address = [\"44\", \"High Stret\", \"\", \"Big City\", \"\"]\n+second_address = [\"123\", \"Testy\", \"Place\", \"Newport\", \"NP5 7AR\"]\n+\n+Input:                              Output:\n+(first_address, second_address)     \"44<br />High Street<br />Big City\"\n+\n+first_address = [Undefined(), Undefined(), Undefined()]\n+second_address = [\"123\", \"Testy\", \"Place\", \"Newport\", \"NP5 7AR\"]\n+\n+Input:                              Output:\n+(first_address, second_address)     \"123<br />Testy<br />Place<br />Newport<br />NP5 7AR\",\n+```\n+\n+\n+## get_current_date\n+Returns the current Date.\n+\n+##### Parameters: \n+- N/A\n+\n+##### Context:\n+No real current usage but a single question in Census I believe only for test purposes.\n+```\n+The number of visitors staying in the household on {{ get_current_date() }}\n+```\n+\n+##### Example:\n+```\n+Output:\n+<span class='date'>27 December 2018</span>\n+```\n+\n+## format_date\n+Formats a date string, which can be in the format \"YYYY-MM-DD\", \"YYYY-MM\" or \"YYYY\".\n+The output will be of the form \"d MMMM YYYY\", \"MMMM YYYY\" or \"YYYY\" depending on value passed.\n+\n+##### Parameters: \n+- value: Value representing a datetime.\n+\n+##### Context:\n+Used when a date is used in a question.\n+```\n+Are you able to report for the period from {{metadata['ref_p_start_date']|format_date}} to {{metadata['ref_p_end_date']|format_date}}?\n+```\n+\n+##### Examples:\n+```\n+Input:          Output:\n+\"2019-01-01\"    \"<span class='date'>1 January 2019</span>\"\n+\"2019-01\"       \"<span class='date'>January 2019</span>\"\n+\"2019\"          \"<span class='date'>2019</span>\"\n+```\n+\n+\n+## format_date_custom\n+Returns a date in a defined format. In most cases in order to include the day of the week.\n+\n+##### Parameters: \n+- value: Value representing a datetime.\n+- date_format: Format of the date to return. Default 'EEEE d MMMM YYYY'\n+\n+##### Context:\n+Used in LMS for both Questions and Options in order to add day of week to a date. \n+Often combined with calculate_offset_from_weekday_in_last_whole_week filter.\n+```\n+Did you have a paid job, either as an employee or self-employed, in the week {{ calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}) | format_date_custom( 'EEEE d MMMM YYYY' ) }} to {{ calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}, 'SU') | format_date_custom( 'EEEE d MMMM YYYY' ) }}\n+ \n+As an option:\n+{{calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}, 'MO') | format_date_custom('EEEE dd MMMM') }}\n+```\n+\n+##### Examples:\n+```\n+Input:                              Output:\n+(\"2018-08-14\", \"EEEE d MMMM YYYY\")  \"<span class='date'>Tuesday 14 August 2018</span>\"\n+(\"2018-08-14\", \"EEEE d MMMM\")       \"<span class='date'>Tuesday 14 August</span>\"\n+(\"2018-08-14\", \"EEEE d\")            \"<span class='date'>Tuesday 14</span>\"\n+(\"2018-08-14\", \"d MMMM YYYY\")       \"<span class='date'>14 August 2018</span>\"\n+```\n+\n+## format_conditional_date\n+This is to be used when passing multiple dates as multiple arguments. It will return the first valid date formatted.\n+\n+##### Parameters: \n+- *dates: Multiple date values\n+\n+##### Context:\n+If a user decides to report for different dates then following questions should use the user entered date. Otherwise continue asking for the metadata period.\n+```\n+For the period {{ format_conditional_date (answers['period-from'], metadata['ref_p_start_date'])}} to {{ format_conditional_date (answers['period-to'], metadata['ref_p_end_date'])}}, what was the value of {{ first_non_empty_item(metadata['trad_as'], metadata['ru_name']) }}’s <em>total retail turnover</em>?\n+```\n+\n+##### Examples:\n+```\n+Input:                              Output:\n+(\"2016-01-12\", \"2016-02-12\")        \"<span class='date'>12 January 2016</span>\"\n+(\"2017-12-23\", None)                \"<span class='date'>23 December 2017</span>\"\n+(None, \"2017-12-24\")                \"<span class='date'>24 December 2017</span>\"\n+```\n+\n+## calculate_offset_from_weekday_in_last_whole_week\n+Offsets a date from a particular day of the week in the previous week. \n+Intended to be used to generate reference date ranges around a particular date\n+The offsets will always be based on one day of the week in the previous Mon-Sun\n+\n+##### Parameters: \n+- input_datetime: The datetime (or date) to offset. Defaults to today's date\n+- offset: Dictionary of the number of days, weeks, or years to offset by as integer values\n+- day_of_week: The day of the previous week to offset from (two letter abbreviation). Default 'MO'\n+\n+##### Context:\n+Used in LMS for both Questions and Options. \n+Used for LMS as they would like reference dates that are more relevant to time you're filling in the survey.\n+Often combined with format_date_custom filter.\n+```\n+If you had been offered a job in the week starting {{ calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}) | format_date_custom( 'EEEE d MMMM' ) }} would you be able to start before {{ calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {'weeks':2}) | format_date_custom( 'EEEE d MMMM' ) }}?\n+\n+As an option:\n+{{calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}, 'MO') | format_date_custom('EEEE dd MMMM') }}\n+```\n+\n+##### Examples:\n+```\n+Input:                              Output:\n+(\"2018-08-10\", {}, \"SU\")            \"2018-08-05\"  # Friday outputs previous Sunday\n+(\"2018-08-10\", {}, \"FR\")            \"2018-08-03\"  # Friday outputs previous Friday\n+(\"2018-08-10\", {\"years\": 1}, \"FR\")  \"2019-08-03\"  # Friday outputs previous Friday + 1 year\n+\n+(\"2018-08-05\", {}, \"SU\")            \"2018-07-29\"  # Sunday outputs previous Sunday (Must be a full Sunday)\n+(\"2018-08-05\", {\"weeks\": 1}, \"SU\")  \"2018-08-05\"  # Previous Sunday with +1 week offset\n+\n+(\"2018-08-06\", {}, \"SU\")            \"2018-08-05\"  # Monday outputs previous Sunday\n+(\"2018-08-06\", {\"days\": -1}, \"SU\")  \"2018-08-04\"  # Previous Sunday with -1 day offset\n+```\n+\n+## calculate_years_difference\n+Returns a difference in years between two dates.\n+\n+##### Parameters: \n+- from_str: datetime string of earliest date.\n+- to_str: datetime string of later date. If set to 'now' will use today's date.\n+\n+##### Context:\n+Used in Census to work out a person's age from a given date of birth:\n+```\n+You are {{ calculate_years_difference (answers['date-of-birth-answer'][group_instance], 'now') }} old. Is this correct?\n+\n+As an option:\n+Yes, I am {{ calculate_years_difference (answers['date-of-birth-answer'][group_instance], 'now') }} old\n+```\n+\n+##### Examples:\n+```\n+Input:                          Output:\n+(\"2017-01-30\", \"2018-01-30')    \"1 year\"\n+(\"2015-02-02\", \"2018-02-01\")    \"2 years\"\n+(\"2016-02-29\", \"2017-02-28\")    \"1 year\"\n+(\"2016-02-29\", \"2020-02-28\")    \"3 years\"\n+```\n+\n+## format_date_range_no_repeated_month_year\n+Format a date range, ensuring months and years are not repeated.\n+If the dates are in the same year, the first year (YYYY) will be removed.\n+If the dates are in the same month and year, the first year (YYYY) and month will be removed.\n+\n+##### Parameters: \n+- start_date: Initial date in range.\n+- end_date: Final date in range.\n+- date_format: Format to return date in. Default is 'd MMMM YYYY'.\n+\n+##### Context:\n+Used in LMS to simplify dates when often they are only a week apart.\n+```\n+Did you have a paid job, either as an employee or self-employed, in the week {{ format_date_range_no_repeated_month_year(calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}), calculate_offset_from_weekday_in_last_whole_week(collection_metadata['started_at'], {}, 'SU'), 'EEEE d MMMM YYYY') }}?\n+```\n+\n+##### Examples:\n+```\n+Input:                                              Output:\n+(\"2018-08-14\", \"2018-08-16\", \"EEEE d MMMM YYYY\")    \"<span class='date'>Tuesday 14</span> to <span class='date'>Thursday 16 August 2018</span>\"\n+(\"2018-07-31\", \"2018-08-16\", \"EEEE d MMMM YYYY\")    \"<span class='date'>Tuesday 31 July</span> to <span class='date'>Thursday 16 August 2018</span>\"\n+(\"2017-12-31\", \"2018-08-16\", \"EEEE d MMMM YYYY\")    \"<span class='date'>Sunday 31 December 2017</span> to <span class='date'>Thursday 16 August 2018</span>\"\n+(\"2017-12-31\", \"2018-08-16\", \"MMMM YYYY\")           \"<span class='date'>December 2017</span> to <span class='date'>August 2018</span>\"\n+(\"2018-08-14\", \"2018-08-16\", \"MMMM YYYY\")           \"<span class='date'>August 2018</span> to <span class='date'>August 2018</span>\"\n+(\"2017-12-31\", \"2018-08-16\", \"YYYY\")                \"<span class='date'>2017</span> to <span class='date'>2018</span>\"\n+(\"2017-07-31\", \"2018-08-16\", \"YYYY\")                \"<span class='date'>2017</span> to <span class='date'>2018</span>\"\n+(\"2018-08-14\", \"2018-08-16\", \"EEEE d\")              \"<span class='date'>Tuesday 14</span> to <span class='date'>Thursday 16</span>\"\n+```\n+\n+\n+## first_non_empty_item\n+Returns the first non empty value in a list of values.\n+\n+##### Parameters: \n+- *items: List of items where some of them could have no value.\n+\n+##### Context:\n+Implemented to replace trad_as_or_runame hard coding. ","path":"doc/jinja-filters.md","position":258,"original_position":258,"commit_id":"62699b8696a58510e9782298dbb6b7faa3f07f56","original_commit_id":"62699b8696a58510e9782298dbb6b7faa3f07f56","user":{"login":"MebinAbraham","id":35296336,"node_id":"MDQ6VXNlcjM1Mjk2MzM2","avatar_url":"https://avatars0.githubusercontent.com/u/35296336?v=4","gravatar_id":"","url":"https://api.github.com/users/MebinAbraham","html_url":"https://github.com/MebinAbraham","followers_url":"https://api.github.com/users/MebinAbraham/followers","following_url":"https://api.github.com/users/MebinAbraham/following{/other_user}","gists_url":"https://api.github.com/users/MebinAbraham/gists{/gist_id}","starred_url":"https://api.github.com/users/MebinAbraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MebinAbraham/subscriptions","organizations_url":"https://api.github.com/users/MebinAbraham/orgs","repos_url":"https://api.github.com/users/MebinAbraham/repos","events_url":"https://api.github.com/users/MebinAbraham/events{/privacy}","received_events_url":"https://api.github.com/users/MebinAbraham/received_events","type":"User","site_admin":false},"body":"`trad_as_or_ru_name`","created_at":"2019-01-02T15:55:18Z","updated_at":"2019-01-02T15:55:18Z","html_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1946#discussion_r244773295","pull_request_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments/244773295"},"html":{"href":"https://github.com/ONSdigital/eq-survey-runner/pull/1946#discussion_r244773295"},"pull_request":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946"}}},"pull_request":{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946","id":239208885,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MjA4ODg1","html_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1946","diff_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1946.diff","patch_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1946.patch","issue_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1946","number":1946,"state":"open","locked":false,"title":"Document Jinja filter schema usage","user":{"login":"dwyeradam","id":28533375,"node_id":"MDQ6VXNlcjI4NTMzMzc1","avatar_url":"https://avatars1.githubusercontent.com/u/28533375?v=4","gravatar_id":"","url":"https://api.github.com/users/dwyeradam","html_url":"https://github.com/dwyeradam","followers_url":"https://api.github.com/users/dwyeradam/followers","following_url":"https://api.github.com/users/dwyeradam/following{/other_user}","gists_url":"https://api.github.com/users/dwyeradam/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyeradam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyeradam/subscriptions","organizations_url":"https://api.github.com/users/dwyeradam/orgs","repos_url":"https://api.github.com/users/dwyeradam/repos","events_url":"https://api.github.com/users/dwyeradam/events{/privacy}","received_events_url":"https://api.github.com/users/dwyeradam/received_events","type":"User","site_admin":false},"body":"### What is the context of this PR?\r\nDocument Jinja filters used in schemas\r\nAlso:\r\nRemoves unused `format_currency_for_input` filter\r\nRenames `format_household_member_name` methods to match names used to call them\r\nAdds a unit test for `test_format_household_summary` which was missing\r\n\r\n### How to review \r\nRead the new `jinja-filters.md` file and help me make it less boring/more understandable.\r\nAlso check the couple of minor out of scope changes haven't had a negative effect.\r\n\r\n### Checklist\r\n\r\n* [ ] New static content marked up for translation\r\n* [ ] Newly defined schema content included in eq-translations repo\r\n","created_at":"2018-12-17T16:37:03Z","updated_at":"2019-01-02T15:55:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d774cea832608240225b628194e432ee9b1a7c4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1946/comments","statuses_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/62699b8696a58510e9782298dbb6b7faa3f07f56","head":{"label":"ONSdigital:eq-2679-document-jinja-filters","ref":"eq-2679-document-jinja-filters","sha":"62699b8696a58510e9782298dbb6b7faa3f07f56","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":49205589,"node_id":"MDEwOlJlcG9zaXRvcnk0OTIwNTU4OQ==","name":"eq-survey-runner","full_name":"ONSdigital/eq-survey-runner","private":false,"owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ONSdigital/eq-survey-runner","description":"eQ Survey Runner","fork":false,"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner","forks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/forks","keys_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/teams","hooks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/events","assignees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/tags","blobs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscription","commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/merges","archive_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/downloads","issues_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/deployments","created_at":"2016-01-07T13:15:26Z","updated_at":"2019-01-02T10:30:07Z","pushed_at":"2019-01-02T14:52:35Z","git_url":"git://github.com/ONSdigital/eq-survey-runner.git","ssh_url":"git@github.com:ONSdigital/eq-survey-runner.git","clone_url":"https://github.com/ONSdigital/eq-survey-runner.git","svn_url":"https://github.com/ONSdigital/eq-survey-runner","homepage":null,"size":16787,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":43,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":43,"watchers":10,"default_branch":"master"}},"base":{"label":"ONSdigital:master","ref":"master","sha":"6aac4685207548ef0dc4ad45f4f3530280a965aa","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":49205589,"node_id":"MDEwOlJlcG9zaXRvcnk0OTIwNTU4OQ==","name":"eq-survey-runner","full_name":"ONSdigital/eq-survey-runner","private":false,"owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ONSdigital/eq-survey-runner","description":"eQ Survey Runner","fork":false,"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner","forks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/forks","keys_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/teams","hooks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/events","assignees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/tags","blobs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscription","commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/merges","archive_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/downloads","issues_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/deployments","created_at":"2016-01-07T13:15:26Z","updated_at":"2019-01-02T10:30:07Z","pushed_at":"2019-01-02T14:52:35Z","git_url":"git://github.com/ONSdigital/eq-survey-runner.git","ssh_url":"git@github.com:ONSdigital/eq-survey-runner.git","clone_url":"https://github.com/ONSdigital/eq-survey-runner.git","svn_url":"https://github.com/ONSdigital/eq-survey-runner","homepage":null,"size":16787,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":43,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":43,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946"},"html":{"href":"https://github.com/ONSdigital/eq-survey-runner/pull/1946"},"issue":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1946"},"comments":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1946/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1946/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/62699b8696a58510e9782298dbb6b7faa3f07f56"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"MebinAbraham"}}