I have a grocery sales data which has 11 columns like store name,item name,price etc. For my analysis i do not require all the column values. I need only few column values for generating a report.
what is the R code for this?
Example: Below are the column names of an sales data. i need only 6 of the below column values. I tried that coding, but error is shown, also those answers I don't understand
STORE_NAME  STORE_ID    DEVICE_SERIAL_NUMBER    BILL_NUMBER BARCODE ITEM_NAME   VARIANT_NAME    BASEPACK    CATEGORY    BRAND   MANUFACTURER    QUANTITY_SOLD   PRICE   PURCHASE_PRICE  SELLING_PRICE   SALES_VAT   USER_NAME   COUNTER CUSTOMER_NAME   CUSTOMER_PHONE  BILL_DATE   CREATED_DATE
 
     
    