Last answered:

09 Aug 2024

Posted on:

03 May 2022

0

Resolved: Chart not showing after filtering

I received this error with no chart showing after doing the filter for the second half of 2008.
"Warning message:
  Removed 5740 row(s)  containing missing values (geom_path)."

I rechecked the code but couldn't figure it out.
image.png

5 answers ( 1 marked as helpful)
Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

03 Jun 2022

1

Hi Mohamed

I have the same error and I didn't figure it
So I Rechecked the whole script and compared it with the script in the resources

my error was here

spx_ftse_00_10$Date <- as.Date(spx_ftse_00_10$Date,
                               format = "%m/%d/%y")

when I checked the values of date I noticed that all the years become 2020 not started from 2000 to 2010



the right format is
spx_ftse_00_10$Date <- as.Date(spx_ftse_00_10$Date,
                               format = "%m/%d/%Y")

the difference is the year Letter must be Y not y
capital not small





try this and tell me

good luck

M.Abd.Elhafez

Posted on:

21 Jun 2022

0

Thank you. It worked!

Posted on:

09 Jul 2022

0

Hi Mohamed,

It worked well, thank you!

Posted on:

17 Nov 2022

0

This is ridiculous, but it worked well for me too. I had faced the same issue. Thanks!!!

Posted on:

09 Aug 2024

0

Many thanks indeed , you helped me a lot h

Submit an answer