View source: R/create_dataset_summary.R
create_dataset_summary | R Documentation |
Create the dataset_summary table
create_dataset_summary(
L0_flat,
package_id,
original_package_id = NULL,
length_of_survey_years,
number_of_years_sampled,
std_dev_interval_betw_years,
max_num_taxa,
geo_extent_bounding_box_m2 = NULL
)
L0_flat |
(tbl_df, tbl, data.frame) The fully joined source L0 dataset, in "flat" format (see details). |
package_id |
(character) Column in |
original_package_id |
(character) An optional column in |
length_of_survey_years |
(character) Column in |
number_of_years_sampled |
(character) Column in |
std_dev_interval_betw_years |
(character) Column in |
max_num_taxa |
(character) Column in |
geo_extent_bounding_box_m2 |
(character) An optional column in |
This function collects specified columns from L0_flat
and returns distinct rows.
"flat" format refers to the fully joined source L0 dataset in "wide" form with the exception of the core observation variables, which are in "long" form (i.e. using the variable_name, value, unit columns of the observation table). This "flat" format is the "widest" an L1 ecocomDP dataset can be consistently spread due to the frequent occurrence of L0 source datasets with > 1 core observation variable.
(tbl_df, tbl, data.frame) The dataset_summary table.
flat <- ants_L0_flat
dataset_summary <- create_dataset_summary(
L0_flat = flat,
package_id = "package_id",
original_package_id = "original_package_id",
length_of_survey_years = "length_of_survey_years",
number_of_years_sampled = "number_of_years_sampled",
std_dev_interval_betw_years = "std_dev_interval_betw_years",
max_num_taxa = "max_num_taxa",
geo_extent_bounding_box_m2 = "geo_extent_bounding_box_m2")
dataset_summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.