{"action":"created","issue":{"url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/issues/189","repository_url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler","labels_url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/issues/189/comments","events_url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/issues/189/events","html_url":"https://github.com/NYPL-Simplified/metadata_wrangler/pull/189","id":387871358,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MjY0OTMy","number":189,"title":"Add standalone, testable parsers for OCLC Classify and VIAF's name formats","user":{"login":"leonardr","id":662474,"node_id":"MDQ6VXNlcjY2MjQ3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/662474?v=4","gravatar_id":"","url":"https://api.github.com/users/leonardr","html_url":"https://github.com/leonardr","followers_url":"https://api.github.com/users/leonardr/followers","following_url":"https://api.github.com/users/leonardr/following{/other_user}","gists_url":"https://api.github.com/users/leonardr/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardr/subscriptions","organizations_url":"https://api.github.com/users/leonardr/orgs","repos_url":"https://api.github.com/users/leonardr/repos","events_url":"https://api.github.com/users/leonardr/events{/privacy}","received_events_url":"https://api.github.com/users/leonardr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T17:44:27Z","updated_at":"2018-12-05T21:19:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/pulls/189","html_url":"https://github.com/NYPL-Simplified/metadata_wrangler/pull/189","diff_url":"https://github.com/NYPL-Simplified/metadata_wrangler/pull/189.diff","patch_url":"https://github.com/NYPL-Simplified/metadata_wrangler/pull/189.patch"},"body":"This is self-contained work in service of https://jira.nypl.org/browse/SIMPLY-1364.\r\n\r\nThis branch adds two classes called NameParser which parse two very similar formats for the names of human beings. They do not try to parse the names themselves, e.g. convert sort_name to display_name. They just try to convert a person's name into a ContributorData object, possibly by extracting information that's _not_ part of a person's name and putting it in some other field of ContributorData.\r\n\r\n[VIAF names](http://viaf.org/viaf/112722880/viaf.xml) look like \"Dibdin, Michael, 1947-2007.\" I don't know if these names were _originated_ by VIAF but it's a very common style. Here the potential extra data is the birth and death dates.\r\n\r\n[OCLC names](http://classify.oclc.org/classify2/Classify?isbn=9780316509695&summary=false) are based on VIAF names (and so, OCLC's NameParser subclasses VIAF's NameParser). But since OCLC names are given in the context of a specific work, they often have roles associated with them. e.g. \"Patterson, Jack, 1998- [Author]\"\r\n\r\nIn addition, OCLC names are sometimes given in a pipe-separated list, like this: \"Patterson, James, 1947- | Madsen, Jim, 1964- [Illustrator] | Patterson, Jack, 1998- [Author] | Yue, Florence [Art director]\". OCLC's NameParser can also parse this list."},"comment":{"url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/issues/comments/444652492","html_url":"https://github.com/NYPL-Simplified/metadata_wrangler/pull/189#issuecomment-444652492","issue_url":"https://api.github.com/repos/NYPL-Simplified/metadata_wrangler/issues/189","id":444652492,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDY1MjQ5Mg==","user":{"login":"leonardr","id":662474,"node_id":"MDQ6VXNlcjY2MjQ3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/662474?v=4","gravatar_id":"","url":"https://api.github.com/users/leonardr","html_url":"https://github.com/leonardr","followers_url":"https://api.github.com/users/leonardr/followers","following_url":"https://api.github.com/users/leonardr/following{/other_user}","gists_url":"https://api.github.com/users/leonardr/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardr/subscriptions","organizations_url":"https://api.github.com/users/leonardr/orgs","repos_url":"https://api.github.com/users/leonardr/repos","events_url":"https://api.github.com/users/leonardr/events{/privacy}","received_events_url":"https://api.github.com/users/leonardr/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T21:19:23Z","updated_at":"2018-12-05T21:19:23Z","author_association":"CONTRIBUTOR","body":"@aslagle I think this is ready now."}}
{"actor":{"display_login":"leonardr"}}