crimemapping_textbook_bookdown icon indicating copy to clipboard operation
crimemapping_textbook_bookdown copied to clipboard

Wk7: wrong order of commands?

Open mbroedl opened this issue 6 years ago • 1 comments

https://github.com/maczokni/crimemapping_textbook_bookdown/blob/85b5c56223ba87ba3260edc2daacce7f3bda9347/07-week7.Rmd#L175

This line caused issues in the tutorial because bur_ccsp only has $code but not $lsoa_code. That one is created a few lines earlier but on a different variable. I suggest putting line 166 before 159.

https://github.com/maczokni/crimemapping_textbook_bookdown/blob/85b5c56223ba87ba3260edc2daacce7f3bda9347/07-week7.Rmd#L159 https://github.com/maczokni/crimemapping_textbook_bookdown/blob/85b5c56223ba87ba3260edc2daacce7f3bda9347/07-week7.Rmd#L166

mbroedl avatar Mar 12 '19 17:03 mbroedl

NB: I was just told by a student that data_frame here throws a warning and should be replaced with tibble: https://github.com/maczokni/crimemapping_textbook_bookdown/blob/85b5c56223ba87ba3260edc2daacce7f3bda9347/07-week7.Rmd#L432

mbroedl avatar Mar 12 '19 17:03 mbroedl