I am trying to run a time-fixed effects regression with plm using the wbstats library. I have attached an image of the dataset for reference. I am rather new to this.
Model:
AfricaTotal <- plm(IndustryGDP ~ CurrentImports + AgriProd + factor(date), data = AfricaVariables, index="country")
Here is the dataset. Is it an indexing issue?

