emis_merge
reads rds files and returns a data-frame
or an object of 'spatial feature' of streets, merging several files.
emis_merge(pol = "CO", what = "STREETS.rds", streets = T, net,
path = "emi", crs, under = "after", ignore = FALSE,
as_list = FALSE)
Character. Pollutant.
Character. Word to search the emissions names, "STREETS", "DF" or whatever name. It is important to include the extension .'rds'. For instance, If you have several files "XX_CO_STREETS.rds", what should be "STREETS.rds"
Logical. If true, emis_merge
will read the street
emissions created with emis_post
by "streets_wide", returning an
object with class 'sf'. If false, it will read the emissions data-frame and
rbind them.
'Spatial feature' or 'SpatialLinesDataFrame' with the streets. It is expected #' that the number of rows is equal to the number of rows of street emissions. If #' not, the function will stop.
Character. Path where emissions are located
coordinate reference system in numeric format from http://spatialreference.org/ to transform/project spatial data using sf::st_transform
"Character"; "after" when you stored your pollutant x as 'X_' "before" when '_X' and "none" for merging directly the files.
"Logical"; Would you liek your selection?
"Logical"; for returning the results as list or not.
'Spatial feature' of lines or a dataframe of emissions