This repository was archived by the owner on Apr 7, 2022. It is now read-only.
Merged
Conversation
This is so we can link up the data.
This is so we can get in a format ImpactEd are expecting.
This is inspired by Duncan's code.
This is so we can pivot wider without creating lists. Also, export to csv for sharing.
This is because the second script cannot call the first script (causes RStudio to abort). One suspects it is to do with Google Authorisation not being able to apply across scripts. Move function to separate script so it can be tested more easily and to modularise code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This branch wrangles the data so that it is in a format suitable for ImpactEd. In particular, they want it in a wider format so they can conduct their own analysis on it.
A lot of this code is inspired by @nacnudus approach in
wrangle-final-databranch, indeed there is some duplication (we worked on our branches in parallel). I think the main difference is that his one formats it in a tidy manner whereas my one formats it so it's tailored to ImpactEd's data structure.Checklists
General checks
docs/aqa/assumptions_caveats.md), if necessarydocsfolderProject-specific checks
rankwhen we have duplicate rows but differentresponseis sound (L25-31 insrc/make_data/02_link_data.R)