New data that keeps others variables ?

Wrong syntax, it should be something like

filter(data, child == "Yes")

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.