R: set_methods

set_methods {EML} | R Documentation

## set_methods

### Description

set_methods

### Usage

    set_methods(methods_file, instrumentation = character(),
      software = new("software"), sampling_file = NULL,
      sampling_coverage = new("coverage"), sampling_citation = new("citation"),
      qualityControl_file = NULL)

### Arguments

`methods_file` | Path to a file (markdown or .docx) containing a description of the methods used
`instrumentation` | optional, text describing instrumentation used in methods
`software` | optional, an EML software node describing software used in methods
`sampling_file` | optional, Path to a file (.md or .docx) describing sampling method
`sampling_coverage` | optional, coverage node for methods, e.g. set_coverage()
`sampling_citation` | optional, a citation element describing the sampling protocol
`qualityControl_file` | optional, path to a file (.md or .docx) describing quality control methods

### Value

A methods object

### Examples

    f <- system.file("examples/hf205-methods.md", package = "EML")
    set_methods(methods_file = f)

    ## Can also import from methods written in a .docx MS Word file.
    f <- system.file("examples/hf205-methods.docx", package = "EML")
    set_methods(methods_file = f)

[Package EML version 1.0.3 Index]