Description Usage Arguments Examples
NOTE: This is an package internal function. Do not use for external uses. Exported to make it available for shiny app.
1 2 | create_report_data(input_data, flagged_data, cleaned_data, responses,
cleaning_true, format)
|
input_data |
The input dataframe before cleaning |
flagged_data |
The flagged data for cleaning |
cleaned_data |
The data with flagged records removed |
responses |
The BDQuestions object with user responses |
cleaning_true |
Flag specifying if the cleaning should be done, or just flagging |
format |
The format of the report to be generated |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | if(interactive()){
library(rgbif)
occdat <- occ_data(
country = 'AU', # Country code for australia
classKey = 359, # Class code for mammalia
limit = 50 # Get only 50 records
)
myData <- occdat$data
question <- BdQuestion()
responses <- get_user_response(question)
cleaned_data <- create_report_data(myData, myData, myData, responses, T, 'pdf')
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.