This repository was archived by the owner on Apr 7, 2022. It is now read-only.
Open
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.
Data: Wrangle for ImpactEd
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
src/make_data/wrangle-raw.RWrangle the final dataset that was provided on 2020-11-26src/make_data/wrangle.REarlier script to wrangle the provisional data, which wasn't merged before.You'll need to download the data manually. I didn't do anything fancy with the Google Drive API, but @avisionh has some code for that.
You might also need to run
renv::restore()to get new dependencies.Checklists
General checks
docs/aqa/assumptions_caveats.md), if necessarydocsfolderProject-specific checks