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

Add variables for remaining individual matching #91

Open
wants to merge 2 commits into
base: 86-revise-trav-day
Choose a base branch
from

Conversation

sgreenbury
Copy link
Collaborator

@sgreenbury sgreenbury commented Feb 5, 2025

Closes #85.

This PR:

  • Includes additional variables for remaining individual matching
  • Includes functionality in match_psm to select matching columns that start with the given column names

Remaining tasks:

  • Add tests

return get_test_dfs_and_mapping(mapping_ind)


def combine_dfs_with_matches(df1, df2, matches_dict) -> pd.DataFrame:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As discussed, might be helpful to move this function into library for use in the matching script directly when applying matches_ind

def test_match_psm():
pass
@pytest.fixture
def ind_hh():
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Might be helpful to add a comment explaining these fixtures

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.

1 participant