as_data_file | R Documentation |
If ind_file
does not have the indicator extension, an error will be
generated.
as_data_file(ind_file, ind_ext = getOption("scipiper.ind_ext"))
ind_file |
the indicator name (with path as needed) whose corresponding data file name should be returned |
ind_ext |
the indicator file extension to expect at the end of ind_file |
as_data_file('mydata.rds.ind') # 'mydata.rds'
as_data_file('mydata.rds.st', ind_ext='st') # 'mydata.rds'
## Not run:
as_data_file('mydata.rds') # Error: "ind_file is not an indicator file"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.