get_processed_files | R Documentation |
get_processed_files(db)
db |
A database connection, as created by |
A data frame containing the file_name
, participant_id
, and study_id
of the
processed files.
# Create a database
db <- create_db(tempdir(), "mydb.db")
# Add some processed files
DBI::dbExecute(db, "INSERT INTO Study VALUES('study1', 'data_format1')")
DBI::dbExecute(db, "INSERT INTO Participant VALUES('participant1', 'study1')")
DBI::dbExecute(db, "INSERT INTO ProcessedFiles VALUES('file1', 'participant1', 'study1')")
# Get the processed files
get_processed_files(db)
# Cleanup
close_db(db)
file.remove(file.path(tempdir(), "mydb.db"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.