read_ndr | R Documentation |
Import the basic NDR patient-level line lists (treatment, recent infection, and HTS) into R. Column names and types are appropriately formatted using the type
argument.
read_ndr(path, type = "treatment", ...)
path |
Path to the csv file on your computer. The file path should be specified in the format "C:/users/Desktop/your file.csv" or something similar. |
type |
type of line list to be imported. Currently, the |
... |
passes other arguments supplied based on the specific NDR line-list to be read. NDR treatment line-list requires the
|
nicely formatted line-list
# Read \code{ndr_example.csv} from a path file_path <- system.file("extdata", "ndr_example.csv", package = "tidyndr") read_ndr(file_path, time_stamp = "2021-02-15") # Read using a link to the NDR csv file on the internet file_path <- "https://raw.githubusercontent.com/stephenbalogun/example_files/main/ndr_example.csv" read_ndr(file_path, time_stamp = "2021-02-15")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.