Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use httr::modify_url() in favour of custom code #25

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

Moohan
Copy link
Member

@Moohan Moohan commented Apr 2, 2024

Whilst working on #24 I was distracted by the custom code that was creating the required URLs, httr provides a function to do this modify_url(), so I've used that instead which I think should be easier to read and at least makes it more consistent across the package now!

All tests pass, there should be no user-facing changes whatsoever.

Copy link
Contributor

@csillasch csillasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@csillasch csillasch merged commit 29398c3 into master Apr 17, 2024
16 checks passed
@csillasch csillasch deleted the use_httr_modify_url branch April 17, 2024 11:29
@Moohan Moohan mentioned this pull request May 16, 2024
Moohan added a commit to Moohan/phsopendata that referenced this pull request Sep 26, 2024
@Moohan Moohan mentioned this pull request Sep 26, 2024
Moohan added a commit to Moohan/phsopendata that referenced this pull request Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants