| readIFC | R Documentation | 
Reads IFC data from IFC files no matter if they are FCS, DAF, RIF or CIF.
readIFC(fileName, ...)
| fileName | path to file. | 
| ... | arguments to pass to  | 
If input 'fileName' is a DAF file ExtractFromDAF will be used to read the file.
If it is a CIF or RIF file readIFC will use ExtractFromXIF.
Finally, if 'fileName' is not a DAF, nor a CIF, nor a RIF file readIFC will use ExtractFromFCS.
an object of class 'IFC_data'.
if(requireNamespace("IFCdata", quietly = TRUE)) {
  ## use a rif file, but you can also read daf or cif
  file_rif <- system.file("extdata", "example.rif", package = "IFCdata")
  rif <- readIFC(fileName = file_rif)
} else {
  message(sprintf('Please run `install.packages("IFCdata", repos = "%s", type = "source")` %s',
                  'https://gitdemont.github.io/IFCdata/',
                  'to install extra files required to run this example.'))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.