tpemartin / 110-1-r4ds-main

MIT License
3 stars 73 forks source link

Exercise 4.14 Get fraud$data from exercise 3 in Exercise section. #49

Open tpemartin opened 2 years ago

tpemartin commented 2 years ago

Exercise 4.14 Get fraud$data from exercise 3 in Exercise section. The following questions exclude any NA.

  1. Convert 通報日期 to a date class. Is there any NA after conversion?

  2. How many LINE accounts were reported as a fraud after 2018 (i.e. starting from 2019-01-01)?

  3. How many LINE accounts were reported as a fraud between year 2019 and 2020?

raychiu135 commented 2 years ago

https://github.com/raychiu135/110-1-r4ds-main/blob/6d033cc3c311d512bab53e887db1bc32695786b8/exercise_4.14.rmd#L2

AmyChen20021003 commented 2 years ago

https://github.com/AmyChen20021003/110-1-r4ds-main/blob/6e17105755f8eaecdf4fefc3b42c428ff890af93/4-14.Rmd#L2

stone05261234 commented 2 years ago

https://github.com/stone05261234/110-1-r4ds-main/blob/6fa4ba2958de47deb81226d2d2cb8be613dff6ba/4.14#L1

linttttt commented 2 years ago

https://github.com/linttttt/110-1-r4ds-main/blob/970b7d553541c5a077e65d44c355941f1f37f433/studyCH4(EX).Rmd#L162

tpemartin commented 2 years ago

@raychiu135, @AmyChen20021003, @stone05261234 Please check:

@raychiu135 @stone05261234

Error:

https://github.com/raychiu135/110-1-r4ds-main/blob/6d033cc3c311d512bab53e887db1bc32695786b8/exercise_4.14.rmd#L27

@AmyChen20021003

Error:

https://github.com/AmyChen20021003/110-1-r4ds-main/blob/6e17105755f8eaecdf4fefc3b42c428ff890af93/4-14.Rmd#L10

https://github.com/AmyChen20021003/110-1-r4ds-main/blob/6e17105755f8eaecdf4fefc3b42c428ff890af93/4-14.Rmd#L22 (the ending date is wrong)

AmyChen20021003 commented 2 years ago

https://github.com/AmyChen20021003/110-1-r4ds-main/blob/15ae42c3f498b1f38e82f6178589a65db350a176/4-14.Rmd#L10

AmyChen20021003 commented 2 years ago

https://github.com/AmyChen20021003/110-1-r4ds-main/blob/91e5f2666fdf9e2318cdc969e4a60a466f1dadd1/4-14.Rmd#L22

raychiu135 commented 2 years ago

https://github.com/raychiu135/110-1-r4ds-main/blob/8ee20c85c8052fa76605e038b8ee1deea377f18d/exercise_4.14.rmd#L2