This function downloads datasets contained in the popler database.
The user can download data directly, using a logical expression, or indirectly,
using objects created by pplr_browse.
Arguments
- ...
An object produced by
pplr_browseor a logical expression.- cov_unpack
logical; if
TRUE, functionpplr_cov_unpackis applied to the variablecovariatesof the downloaded dataset in order to extract the variables contained in therein and combine the new columns with the default output. Default isFALSE.
Details
. By default, the following variables are included when a user calls
pplr_get_data().
authorsauthors_contactyeardaymonthsppcodegenusspeciesdatatypespatial_replication_level_1_labelspatial_replication_level_1spatial_replication_level_2_labelspatial_replication_level_2spatial_replication_level_3_labelspatial_replication_level_3spatial_replication_level_4_labelspatial_replication_level_4spatial_replication_level_5_labelspatial_replication_level_5proj_metadata_keystructure_type_1structure_type_2structure_type_3structure_type_4treatment_type_1treatment_type_2treatment_type_3covariates
Examples
if (FALSE) {
# browse a study, then get the data associated with it
parasite = pplr_browse(proj_metadata_key == 25)
gh_data = pplr_get_data(parasite)
# insect data sets from the SEV lter site
insect_sev = pplr_browse(class == "Insecta" & lterid == "SEV")
insect_25_yrs96_99 = pplr_get_data(insect_sev)
insect_21_25 = pplr_get_data( (proj_metadata_key == 43 |
proj_metadata_key == 25) )
}
