store source species in the database
1 2 | store_analysis(analysis, model_set, analysis_version, analysis_relation,
conn, hash, clean = TRUE)
|
analysis |
a data.frame with file_fingerprint, model_set_local_id, location_group, species_group, last_year, seed, analysis_version, analysis_date, status and status_fingerprint. |
model_set |
a data.frame with the model sets. Must have variables "local_id", "description", "first_year", "last_year" and "duration". The variable "long_description" is optional. |
analysis_version |
an n2kAnalysisVersion object. See
|
analysis_relation |
an optional data.frame with analysis and source_analysis. analysis contains the file_fingerprint of the current analysis. source_analysis contains the file_fingerprint of the parent analysis |
conn |
a DBIconnection |
hash |
the hash of the update session |
clean |
perform all database operations within a transaction and clean up the staging tables. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.