I want to create a line chart
And I used the data of https://github.com/kaz-ogiwara/covid19/blob/master/data/summary.csv.
But the graph was not plotted.

Removed 2 row(s) containing missing values ​​(geom_path).
Applicable source code
CovidJP<- read.csv("summary.csv")
g<- ggplot(CovidJP, aes(x = month, y = hospitalized))
g<- g + geom_line()
What I tried

There were two missing values ​​in y, so I thought that was the cause, and I tried to remove it by changing it like ggplot(subset(CovidJP, !is.na(y)),aes(x = month, y = hospitalized)), but the same I got an error.

Supplemental information (FW/tool ​​version, etc.)

Please provide more detailed information here.