Exercise: binding and merging
- load the data called “SO2_measures.txt” which is located in the data-folder in Ilias.
- Find all entries from “StationA”.
- Replace all occurrences of “CO2” with “CarbonDioxide”.
3) Separate the strings into their components: stationname, date, hour, CO2, and SO2 usingstrsplit()function. Use the results to create a dataframe with the help ofdo.call(rbind, x)andas.data.frame().
Make sure that every column has a suitable data type.