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

Alternative approach to simplifying load_survey() and fixing out-of-memory issues (#71) #75

Merged
merged 14 commits into from Aug 14, 2023

Conversation

sbfnk
Copy link
Collaborator

@sbfnk sbfnk commented Nov 18, 2022

Targeting #71 for clarity but could be merged into main directly. Just needs a NEWS item.

Co-authored-by: Sebastian Funk sebastian.funk@lshtm.ac.uk

@sbfnk sbfnk requested a review from Bisaloo November 18, 2022 08:14
@sbfnk sbfnk changed the title Alternative approach to testing merged Alternative approach to simplifying load_survey() and fixing out-of-memory issues (#71) Nov 21, 2022
R/load_survey.r Show resolved Hide resolved
R/load_survey.r Outdated Show resolved Hide resolved
Bisaloo and others added 13 commits July 28, 2023 11:46
Since we can already detect if some ids from the main survey are absent from file by comparing test_merge to file
This avoids the situation where the common_id is not unique, which would make the merge fail. This issue was side-stepped with allow.cartesian = TRUE but it could make the dataset blow up and cause memory saturation
Co-authored-by: Sebastian Funk <sebastian.funk@lshtm.ac.uk>
@sbfnk sbfnk merged commit f06b870 into main Aug 14, 2023
8 of 9 checks passed
@sbfnk sbfnk deleted the simplify-load_survey-2 branch August 14, 2023 19:49
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.

None yet

2 participants