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

33 allow user to flexibly specify weights #75

Merged
merged 10 commits into from
Jan 26, 2024

Conversation

james-clark-rsg
Copy link
Contributor

  • Removes all calls to hts_get_keycols
  • Adds calls requiring id and weight names for each table
  • Allows ids to be flexibly specified
  • Allows weights to flexibly specified
  • Updates documentation with new arguments
  • Updates tests with new arguments
    Closes Allow user to flexibly specify weights #33

@james-clark-rsg james-clark-rsg linked an issue Jan 25, 2024 that may be closed by this pull request
Copy link
Collaborator

@erika-redding erika-redding left a comment

Choose a reason for hiding this comment

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

@james-clark-rsg - devtools check is failing in getting_started.rmd in the code chunk that's calling hts_prep_data. Here's the section that's causing the error: https://github.com/RSGInc/travelSurveyTools/blob/33-allow-user-to-flexibly-specify-weights/R/hts_prep_data.R#L134-L144. please debug and resolve all remaining fails after running devtools check. thanks

@erika-redding
Copy link
Collaborator

@james-clark-rsg seems as though the code chunk above should be nested inside this if clause -https://github.com/RSGInc/travelSurveyTools/blob/main/R/hts_prep_data.R#L104-L121

@erika-redding erika-redding merged commit 903238b into main Jan 26, 2024
5 checks passed
@erika-redding erika-redding deleted the 33-allow-user-to-flexibly-specify-weights branch January 29, 2024 21:06
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.

Allow user to flexibly specify weights
2 participants