You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You've done a lot of data processing---really nice work! I'm particularly impressed with how you've been able to leverage a lot of different skills in putting your data together
Please knit data_processing_note.Rmd so readers can read it as a more readable GitHub Markdown document
Where does PELIC_speech_compiled.csv come from? Please make sure it's shared in your repo, because otherwise nobody else will be able to reconstruct your analysis!
I'm a little confused by new_wdDat and why there are just 3 files represented---is that just so you have a smaller sample to work with for testing?
You might want to use more descriptive object names; future-you might not remember what the difference between dat2 and dat3 was supposed to be! Note also that you've got two different objects named dat that don't appear to be the same thing. In general, if you find yourself struggling to come up with good names for an object, that might be a signal that it doesn't need to be its own object; you could probably pare down the number of dataframes you create
Re: the PrimaryStress coding, here's a simple to fix it: replace lines 150-152 with mutate(stress = if_else(str_detect(paste0("[", PrimaryStress, "]"), currentSyll), "stressed", "unstressed")). This turns PrimaryStress into a regex character class (paste0("[", PrimaryStress, "]") to surround PrimaryStress with square brackets) that currentSyll is matched against
The text was updated successfully, but these errors were encountered:
You've done a lot of data processing---really nice work! I'm particularly impressed with how you've been able to leverage a lot of different skills in putting your data together
Please knit
data_processing_note.Rmd
so readers can read it as a more readable GitHub Markdown documentRemember not to set the working directory---use relative paths instead! Otherwise Jenny Bryan will "come into your office and SET YOUR COMPUTER ON FIRE" (https://twitter.com/hadleywickham/status/940021008764846080/photo/1)
Where does
PELIC_speech_compiled.csv
come from? Please make sure it's shared in your repo, because otherwise nobody else will be able to reconstruct your analysis!I'm a little confused by
new_wdDat
and why there are just 3 files represented---is that just so you have a smaller sample to work with for testing?You might want to use more descriptive object names; future-you might not remember what the difference between
dat2
anddat3
was supposed to be! Note also that you've got two different objects nameddat
that don't appear to be the same thing. In general, if you find yourself struggling to come up with good names for an object, that might be a signal that it doesn't need to be its own object; you could probably pare down the number of dataframes you createRe: the PrimaryStress coding, here's a simple to fix it: replace lines 150-152 with
mutate(stress = if_else(str_detect(paste0("[", PrimaryStress, "]"), currentSyll), "stressed", "unstressed"))
. This turns PrimaryStress into a regex character class (paste0("[", PrimaryStress, "]")
to surround PrimaryStress with square brackets) that currentSyll is matched againstThe text was updated successfully, but these errors were encountered: