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

Pass src_conn and dst_conn to generators when we create-data #26

Merged
merged 5 commits into from
Jan 23, 2023
Merged

Conversation

Iain-S
Copy link
Collaborator

@Iain-S Iain-S commented Jan 11, 2023

Begins work on #24

We pass in the src and dst database connections as we construct SSG Generator objects so that the user can either

  1. Query an existing dst database table (e.g. as we do for Foreign Keys)
  2. Query a src database table (e.g. to get a realistic ratio of M/F patients)

Note that there is no DP or noise at this point.

We also rename the foreign key provider because it is more general than the name suggests.

@Iain-S Iain-S force-pushed the marginals branch 4 times, most recently from 99b4d82 to 836c101 Compare January 19, 2023 11:57
@Iain-S Iain-S requested a review from mhauru January 19, 2023 11:57
@Iain-S Iain-S changed the title Marginals Pass src_conn and dst_conn to generators when we create-data Jan 19, 2023
@Iain-S Iain-S merged commit 1ed1542 into main Jan 23, 2023
@Iain-S Iain-S deleted the marginals branch January 23, 2023 15:35
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