help in FILTER and gg plot

Hi, I have this following error

so this is my code
corona_aw1<- filter(corona_aw, type == "confirmed", province == Estonia)

and this is the error says
filter(corona_aw, type == "confirmed", province == Estonia)
Error in filter(corona_aw, province == Estonia | Country == "Russia" | :
object 'province' not found

but i do have the province table in corona_aw.

Put in quotation marks

Hi, i did put in quotation mark and now it give me this error:

Error: Problem with filter() input ..1. x object 'Country' not found :information_source: Input ..1 is Country == "Estonia" | Country == "Russia" | Country == "Qatar".

We don't have access to your data so, to help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

1 Like

it means Country does not seem to be a variable from the table you are applying filter on.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.