Description Usage Arguments Value Examples
Parses a PDS3 file to extract meta information
1 | pds3_read(x, util = pds3_lexer_parser(), assume_complete = TRUE)
|
x |
A String of the PDS3 to parse, containing one of the following:
|
util |
A list containing a PDS3 lexer & parser as returned by 'getLexerParser()'. Typically not required, but improves performance if parsing many files. |
assume_complete |
(default: TRUE) Assume that there is no content after 'END'. If set to false, will pre-parse the file to find END. If you start getting parsing errors, you may need to set this flag to false. |
A list with the following components:
Raw label content. If there is extra_data, it will be excluded
Content following 'END'. If assume_complete is F or there is no content after the label, this will be an empty string
Parsed label content.
1 2 3 | pds3_read('PDS_VERSION_ID = PDS3
PRODUCT_CREATION_TIME = 2017-05-31T18:42:49
END')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.