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

Additional user functionality noted in Issue #6 #12

Merged
merged 6 commits into from
Feb 4, 2021

Conversation

WraySmith
Copy link
Owner

This PR can be merged in now, or can wait until other PRs are merged in, not sure which order is better.

This adds the additional user functionality noted in issue #6 including:

  • allow a user to pass in a year range to get_recall_make() or get_recall_model()
  • allow a user to pass in a list of make/model and have recall_by_make() or recall_by_model() output data related to the list of inputs
  • modify recall_details() to handle an input list of numbers that queries the API multiple times and returns a dataframe of the output
  • fix limit argument in call_vrd_api()

recall_by_model <- function(model,
start_year = NULL, end_year = NULL,
limit = 25,
partial = FALSE) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is partial used yet?

Copy link
Owner Author

Choose a reason for hiding this comment

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

no, it's currently a placeholder related to filtering the output dataframe which @RyKoe should be implementing (call to API returns all partial matches no matter what)

@WraySmith WraySmith merged commit 23d265c into setup_package Feb 4, 2021
@WraySmith WraySmith deleted the dev-user-funcs branch February 4, 2021 18:48
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.

3 participants