Title: ODS API querying helpers by mirober · Pull Request #116 · codonlibrary/codonPython · GitHub
Open Graph Title: ODS API querying helpers by mirober · Pull Request #116 · codonlibrary/codonPython
X Title: ODS API querying helpers by mirober · Pull Request #116 · codonlibrary/codonPython
Description: Please check if the Pull Request fulfills these requirements The commit message is clear and concise Test for the changes have been added and reviewed Documentation has been added to all new features and edited code has had documentation reviewed What kind of change does this Pull request introduce? (Bug fix, feature, docs update, ...) Adds a couple of new functions for querying the ODS API. The main one, ODS_lookup.get_addresses, can be used to retrieve name and address information for a list of ODS codes as a pandas data frame. e.g. >>> get_addresses(pd.Series(["X26"])) Org_AddrLn1 Org_Code Org_Country Org_Name Org_PostCode Org_Town 0 1 TREVELYAN SQUARE X26 ENGLAND NHS Digital LS1 6AE LEEDS The api only lets you query for a single code at a time. I don't think making serial requests is going to cause a major performance issue but it might for very large requests. Could investigate async requests if necessary.
Open Graph Description: Please check if the Pull Request fulfills these requirements The commit message is clear and concise Test for the changes have been added and reviewed Documentation has been added to all new f...
X Description: Please check if the Pull Request fulfills these requirements The commit message is clear and concise Test for the changes have been added and reviewed Documentation has been added to all new f...
Opengraph URL: https://github.com/codonlibrary/codonPython/pull/116
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:983d47de-d0f6-3bad-06a0-186b8d4ca954 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 838E:1ECA58:AE78A5:E830FA:6A52BA80 |
| html-safe-nonce | b0566d746b785a3b92b73cbef9ead68446a8c26d7101d20caa8b660953689fcb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzhFOjFFQ0E1ODpBRTc4QTU6RTgzMEZBOjZBNTJCQTgwIiwidmlzaXRvcl9pZCI6IjUyNzMwODgwODMwMjk1NzIyMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3bbd3852b906a02a68374aceb05d147f56387dd3d23defb4aedaccbf1ce2769d |
| hovercard-subject-tag | pull_request:367412614 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codonlibrary/codonPython/pull/116/files |
| twitter:image | https://avatars.githubusercontent.com/u/42875462?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/42875462?s=400&v=4 |
| og:image:alt | Please check if the Pull Request fulfills these requirements The commit message is clear and concise Test for the changes have been added and reviewed Documentation has been added to all new f... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/codonlibrary/codonPython git https://github.com/codonlibrary/codonPython.git |
| octolytics-dimension-user_id | 52656738 |
| octolytics-dimension-user_login | codonlibrary |
| octolytics-dimension-repository_id | 196361780 |
| octolytics-dimension-repository_nwo | codonlibrary/codonPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196361780 |
| octolytics-dimension-repository_network_root_nwo | codonlibrary/codonPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width