11.07.2015 Views

Package 'openair'

Package 'openair'

Package 'openair'

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

32 importADMSdrop.input.datesOption to remove ADMS "hour", "day", and "year" data columns after generatingopenair "date" timeseries. Default, TRUE. Alternative, FALSE, returns both"date" and the associated ADMS data columns as part of openair data frame.keep.units Option to retain ADMS data units. Default, TRUE, retains units (if recoverable)as character vector in data frame comment if defined in file. Alternative,FALSE, discards units. (NOTE: currently, only .bgd and .pst files assign units.So, this option is ignored when importing .met or .mop files.)simplify.names Option to simplify data names in accordance with common openair practices.Default, TRUE. Alternative, FALSE, returns data with names as interpreted bystandard R. (NOTE: Some ADMS file data names include symbols and structuresthat R does not allow as part of a name, so some renaming is automaticregardless of simplify.names setting. For example, brackets or symbols areremoved from names or repaced with ".", and names in the form "1/x" may bereturned as "X1.x" or "recip.x".)test.file.structureOption to test file structure before trying to import. Default, TRUE, tests forexpected file structure and halts import operation if this is not found. Alternative,FALSE, attempts import regardless of structure.drop.delim Option to remove delim columns from the data frame. ADMS .mop files includetwo columns, "INPUT_DATA:" and "PROCESSED_DATA:", to separate modelinput and output types. Default, TRUE, removes these. Alternative, FALSE, retainsthem as part of import. (Note: Option ignored when importing .bgd, .metor .pst files.)add.prefixes Option to add prefixes to data names. ADMS .mop files include a number ofinput and process data types with shared names. Prefixes can be automaticallyadded to these so individual data can be readily identified in the R/openair environment.Default, TRUE, adds "process." as a prefix to processed data. Other optionsinclude: FALSE which uses no prefixes and leave all name rationalisation toR, and character vectors which are treated as the required prefixes. If one vectoris sent, this is treated as processed data prefix. If two (or more) vectors are sent,the first and second are treated as the input and processed data prefixes, respectively.For example, the argument (add.prefixes="out") would add the "out"prefix to processed data names, while the argument (add.prefixes=c("in","out"))would add "in" and "out" prefixes to input and output data names, respectively.(Note: Option ignored when importing .bgd, .met or .pst files.)namesOption applied by simplifyNamesADMS when simplify.names is enabled. Allnames are simplified for the default setting, NULL.... Additional arguments, passed to read.csv as part of import operation.DetailsThe importADMS function were developed to help import various ADMS file types into openair. Inmost cases the parent import function should work in default configuration, e.g. mydata

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!