I am trying to do an if-then statement with my data based on two fields:
- actual sales
- DRV (price that I bought the device for)
I want to create a field in R called "Coverage". If the actual sales is greater than or equal the DRV field, then fill the "Coverage" field for that specific account as "Covered. If its below, then fill with it with "Not covered".
Seems like a simple update query, but I am getting new to R and trying to figure out all the schematics of using it.