The data set I'm working with has 13 columns with the following headers (bold), and 302 rows : id: 001, 002,..., 302), source_code: : AAA, BBB, CCC, date,day, month, year, time,hour, minute, second,latitude, longitude, inscriptions: NA, 1 or 0.
I have a script that creates density maps using this dataset, however, I want to be able to use filters that select the data I want the maps to include and exclude.
example 1: I want to ONLY select the data with id = 1-123 ( and name this selection of data: data_A)
example 2: I want to ONLY select the data with id = 124-168 (and name this: data_B )
example 3: I want to ONLY select the data with id = 1-168 (and name this: data_AB )
example 4: I want to ONLY select the data where id = 169-302 (name this: data_C)
example 5: I want to ONLY select the data where id = 3 (name this: data_3)
I am new using Rstudio and this platform to ask questions, so sorry beforehand if this explanation is vague!
Thank you!!