Skip to content

Commit

Permalink
version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Allison Horst authored and cran-robot committed Aug 14, 2023
0 parents commit 7dab1fa
Show file tree
Hide file tree
Showing 55 changed files with 868 additions and 0 deletions.
60 changes: 60 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
Package: lterdatasampler
Title: Educational Dataset Examples from the Long Term Ecological
Research Program
Version: 0.1.1
Date: 2023-08-11
Authors@R: c(
person(given = "Allison",
family = "Horst",
role = c("aut", "cre"),
email = "ahorst@ucsb.edu",
comment = c(ORCID = "0000-0002-6047-5564")),
person(given = "Julien",
family = "Brun",
role = c("aut"),
email = "brun@nceas.ucsb.edu",
comment = c(ORCID = "0000-0002-7751-6238")),
person(given = "Sam",
family = "Guo",
role = c("ctb"),
comment = c("https://github.com/TokyoExpress")),
person(given = "Adhitya",
family = "Logan",
role = c("ctb"),
comment = c("https://github.com/adhil0")),
person(given = "Lian",
family = "Ran",
role = c("ctb"),
comment = c("https://github.com/liaaaaran")),
person(given = "Sophia",
family = "Sternberg",
role = c("ctb"),
comment = c("https://github.com/sophiasternberg")),
person(given = "Karen",
family = "Zhao",
role = c("ctb"),
comment = c("https://github.com/karenezhao"))
)
Description: Curated datasets from US Long Term Ecological Research sites.
License: CC0
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Depends: R (>= 2.10)
Suggests: knitr, rmarkdown, janitor, usethis, metajam, tidyverse, here,
broom, sf, ggmap, leaflet, lubridate, patchwork, tsibble,
feasts, changepoint, gt
URL: https://github.com/lter/lterdatasampler
BugReports: https://github.com/lter/lterdatasampler/issues
NeedsCompilation: no
Packaged: 2023-08-11 13:11:32 UTC; allison
Author: Allison Horst [aut, cre] (<https://orcid.org/0000-0002-6047-5564>),
Julien Brun [aut] (<https://orcid.org/0000-0002-7751-6238>),
Sam Guo [ctb] (https://github.com/TokyoExpress),
Adhitya Logan [ctb] (https://github.com/adhil0),
Lian Ran [ctb] (https://github.com/liaaaaran),
Sophia Sternberg [ctb] (https://github.com/sophiasternberg),
Karen Zhao [ctb] (https://github.com/karenezhao)
Maintainer: Allison Horst <ahorst@ucsb.edu>
Repository: CRAN
Date/Publication: 2023-08-14 08:40:11 UTC
54 changes: 54 additions & 0 deletions MD5
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
1f9a31efdef415684d057c9c99f29e14 *DESCRIPTION
dc21c19f0d6968ee25d441b2cf46017d *NAMESPACE
0a970a742c415ad85184660f07c2d5a1 *R/and_vertebrates_doc.R
8ca568be47edb7a19194b4f3c660f890 *R/arc_weather_doc.R
d01216aa23500471986d7d7b38f16eeb *R/hbr_maples_doc.R
b6aedb2534d0513aa90e5a7e01829626 *R/knz_bison_doc.R
df6cc46bc7fae1a55b713f3d5065b35a *R/lterdatasampler-package.R
1c41540574a7b9c850dc2976d936b476 *R/luq_streamchem_doc.R
6e53d16f28f92b8e4c6609e854d397ce *R/ntl_airtemp_doc.R
6ad66e832d6629fb7b000655b66bdb65 *R/ntl_icecover_doc.R
4b715f0695271997e053552894e5de2f *R/nwt_pikas_doc.R
b9a89329696b09192f4713f2f3a36561 *R/pie_crab_doc.R
2b0c386373d9e953745959e56bcb6b48 *README.md
7080893e02c49cd296d4424b9be55069 *build/partial.rdb
1be15abbd136774aed50d9bf2290d186 *data/and_vertebrates.rda
e87681f5aabeae0d6dd99b8276d32fac *data/arc_weather.rda
6eb8cffb7b5b0290adeeb7cf7eca719a *data/hbr_maples.rda
bac1bc131ee787ce945bfacbf06f6bf6 *data/knz_bison.rda
326f4b36e97afbcebfacf48adc4cffaf *data/luq_streamchem.rda
90c4d570073e374bc6dcfc0b643671a1 *data/ntl_airtemp.rda
90c64054406ff3b48a0ab06c17ad273d *data/ntl_icecover.rda
6d94bd40160feb5487112bbf571084b5 *data/nwt_pikas.rda
3fecbcfff31f7fe0c56e2bcf65b0cc0b *data/pie_crab.rda
78c5516f8f1e7765d5db88984e6a3f33 *man/and_vertebrates.Rd
01ea36178d63c6804b250b1233c38dce *man/arc_weather.Rd
6fe25aee083b09ed90fb4ea2aaed7b9e *man/figures/adultPikaNiwotRidge_SaraMcLaughlin.jpeg
94a81a97d0008acea0605fdf9a62b866 *man/figures/and_salamander.jpg
a8eb75a3e2056fda17f31cc8655aa0a2 *man/figures/and_salamander_img.jpeg
c714916a4aa28ccb1b2feabdfb0abe85 *man/figures/arc_weather_img.jpeg
b1e96ba5bf0110bf618f6a270df22f09 *man/figures/bison.svg
38b4f036ce35c91e8ee833949c909dc9 *man/figures/hbr_maples_img.jpg
8663fd73a90ede4a988728647a474118 *man/figures/hbr_maples_img_2.jpg
7b2dd34abe7dc580331ab7ff38a9d5a0 *man/figures/hbr_maples_img_3.jpg
23532f54a920b8d11047ea89b37fc0d7 *man/figures/hbr_maples_img_4.jpg
8aee29a2bb2bf376d8ea3c98885298a1 *man/figures/knz_bison_img.jpg
c35e95276ac0029ba89a9cb319e67f3a *man/figures/knz_bison_img_2.jpg
9db7fb1c41e74841090ff9acce37ecf5 *man/figures/knz_bison_img_3.jpg
d77f1a0c3ef3507b4330a463e361c310 *man/figures/logo.png
30ac84448409dcec1ccb6a9e6f8aff46 *man/figures/logos.png
79f5778bf0c18d254d19a4d4cbd6fc28 *man/figures/luq_streamchem_img.jpeg
9a722209390e4e931e0de85e75daf088 *man/figures/ntl_icecover_img.jpg
0106f6fa782ce787a9fc2c7575287d7a *man/figures/ntl_icecover_img_2.jpeg
b45bf8be5cfe35d57632710a645c90fa *man/figures/ntl_icecover_img_3.png
37e744c26c1a9a780ce9394f89629486 *man/figures/nwt_pikas_img.jpg
2b766cffcdef455cca5cdeef51709a90 *man/figures/pie_landscape_img.jpg
ca29703dcbb7cea9485fce3b3de5e08a *man/figures/pika.svg
b6f8cc488c8466327f98fca677f6634a *man/hbr_maples.Rd
9ed7b510a43ad456103c0fac1ea83701 *man/knz_bison.Rd
0f386955be67587b7d0a5dcd293b908e *man/lterdatasampler-package.Rd
fcfdea516b1cd1523dc4ca5fe6731e1e *man/luq_streamchem.Rd
b8b996b008114a581c524030f3ede4bd *man/ntl_airtemp.Rd
ceb119716642f8d6a93700f19037e2fb *man/ntl_icecover.Rd
aee0ca405e2b7e0f66bd21c5e936044b *man/nwt_pikas.Rd
7dc47c3a7d97318111af47b7db37d4d5 *man/pie_crab.Rd
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Generated by roxygen2: do not edit by hand

26 changes: 26 additions & 0 deletions R/and_vertebrates_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#' Cutthroat trout and salamander length and weights in Mack Creek, Andrews Forest LTER
#'
#' Includes count and size data for cutthroat trout and salamanders in clear cut or old growth sections of Mack Creek, Andrews Forest LTER.
#'
#' @format A tibble with 32,209 rows and 16 variables:
#' \describe{
#' \item{year}{a number indicating the observation year}
#' \item{sitecode}{a character denoting the coded name of sample area}
#' \item{section}{a character denoting the section in Mack Creek (CC = clear cut forest, OG = upstream old growth coniferous forest)}
#' \item{reach}{a character denoting the reach sampled from each section; L = lower reach (0 - 50 meters), M = middle reach (50 - 100 meters), U = upper reach (100 - 150 meters))}
#' \item{pass}{a number denoting the electroshocking pass number, either 1 or 2}
#' \item{unitnum}{a number denoting the channel unit number}
#' \item{unittype}{a character denoting the channel unit classification type (C = cascade, I = riffle, IP = isolated pool (not connected to channel), P = pool, R = rapid, S = step (small falls), SC = side channel, NA = not sampled by unit)}
#' \item{vert_index}{a number denoting the unique index for each vertebrate}
#' \item{pitnumber}{a number denoting the unique tag number embedded into vertebrate (tagging started in 2007)}
#' \item{species}{a character denoting species measured}
#' \item{length_1_mm}{a number denoting vertebrate length in millimeters; total or snout-fork length for trout, and snout-vent length for salamanders}
#' \item{length_2_mm}{a number denoting snout-tail length in millimeters (for Coastal giant salamander only)}
#' \item{weight_g}{a number denoting vertebrate mass in grams}
#' \item{clip}{a character denoting the fin clip type for cutthroat trout, ended in 2006 (LV = left ventral fin; LVRV = left and right ventral fins; RV = right ventral fin; NONE = no ventral fin clip)}
#' \item{sampledate}{a date denoting the date of observation}
#' \item{notes}{a character denoting additional comments}
#' }
#' @source {Gregory, S.V. and I. Arismendi. 2020. Aquatic Vertebrate Population Study in Mack Creek, Andrews Experimental Forest, 1987 to present ver 14. Environmental Data Initiative.}
#' \doi{10.6073/pasta/7c78d662e847cdbe33584add8f809165}
"and_vertebrates"
16 changes: 16 additions & 0 deletions R/arc_weather_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' Daily weather data from Toolik Field Station at Toolik Lake, Alaska (1988 - 2018) from Arctic LTER
#'
#' A subset of daily recorded meteorological data, including mean daily air temperature and windspeed, and daily total precipitation, measured at Toolik Field Station, Alaska (Arctic LTER) from 1988 - 2018.
#'
#' @format A tibble with 11,171 rows and 5 variables:
#' \describe{
#' \item{date}{a date denoting recorded date}
#' \item{station}{a character denoting the station}
#' \item{mean_airtemp}{a number denoting mean daily air temperature in degrees Celsius}
#' \item{daily_precip}{a number denoting total daily precipitation in millimeters}
#' \item{mean_windspeed}{a number denoting daily mean windspeed in meters per second}
#' }
#' @source {Shaver, G. 2019. A multi-year DAILY weather file for the Toolik Field Station at Toolik Lake, AK starting 1988 to present. ver 4. Environmental Data Initiative.} \doi{10.6073/pasta/ce0f300cdf87ec002909012abefd9c5c}
#' @source {Arctic LTER website:} \url{https://arc-lter.ecosystems.mbl.edu/}
"arc_weather"

22 changes: 22 additions & 0 deletions R/hbr_maples_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#' Health of Sugar Maple (Acer saccharum) Seedlings in Response to Calcium Addition (2003-2004), Hubbard Brook LTER
#'
#' Sugar maple seedlings were examined at Hubbard Brook Experimental Forest on calcium-treated and reference sites during August 2003 and June 2004. Seedlings were sampled every ten steps in transects.
#'
#' @format A tibble with 359 rows and 11 variables
#' \describe{
#' \item{year}{a number denoting the year that the sample was taken}
#' \item{watershed}{a factor denoting the watershed where the sample was collected; W1 = calcium-treated, Reference = reference}
#' \item{elevation}{a factor describing the Elevation of transect; Low = low elevation, Mid = mid elevation}
#' \item{transect}{a factor denoting the transect number within the watershed}
#' \item{sample}{a factor denoting the sample number within transect. There are twenty samples in each transect}
#' \item{stem_length}{a number denoting the height of the seedling in millimeters}
#' \item{leaf1area}{a number denoting the area of the first sampled leaf in square centimeters}
#' \item{leaf2area}{a number denoting the area of the second sampled leaf in square centimeters}
#' \item{leaf_dry_mass}{a number denoting the dry mass of both sampled leaves in grams}
#' \item{stem_dry_mass}{a number denoting the dry mass of the stem in grams}
#' \item{corrected_leaf_area}{a number denoting the area of both leaves in addition to the area removed for chlorophyll measurements in square centimeters}
#' }
#' @source {Juice, S. and T. Fahey. 2019. Health and mycorrhizal colonization response of sugar maple (Acer saccharum) seedlings to calcium addition in Watershed 1 at the Hubbard Brook Experimental Forest ver 3. Environmental Data Initiative.}
#' \doi{10.6073/pasta/0ade53ede9a916a36962799b2407097e}

"hbr_maples"
19 changes: 19 additions & 0 deletions R/knz_bison_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#' Konza Prairie Bison Herd Information, Konza Prairie Biological Station LTER
#'
#' The purpose of this study is to monitor long-term changes in individual animal mass. The datasets include an annual summary of the bison herd structure, end-of-season weights of individual animals, and maternal parentage of individual bison.
#'
#' @format A tibble with 8,325 rows and 9 columns:
#' \describe{
#' \item{data_code}{a character denoting the dataset code}
#' \item{rec_year}{a number denoting the year of observation}
#' \item{rec_month}{a number denoting the month of observation}
#' \item{rec_day}{a number denoting the day of observation}
#' \item{animal_code}{a character denoting the unique individual bison identification code based on ear tag number}
#' \item{animal_sex}{a character denoting the sex of bison: M = male, F = female, U = unknown}
#' \item{animal_weight}{a number denoting bison weight in pounds}
#' \item{animal_yob}{a number denoting the year animal was born}
#' }
#' @source {EBlair, J. 2021. CBH01 Konza Prairie bison herd information ver 12. Environmental Data Initiative. https://doi.org/10.6073/pasta/9c641b35695abc5889edd64c3950517f (Accessed 2021-05-10).}
#' \doi{10.6073/pasta/9c641b35695abc5889edd64c3950517f}

"knz_bison"
6 changes: 6 additions & 0 deletions R/lterdatasampler-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
28 changes: 28 additions & 0 deletions R/luq_streamchem_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#' LUQ Stream Chemistry Data for Quebrada Sonadora (QS) site
#'
#' Data include stream chemistry data for the Quebrada Sonadora (QS) location part of the Luqillo LTER site
#'
#' @format A tibble with 597 rows and 18 variables:
#' \describe{
#' \item{Sample_ID}{a character denoting Watershed or Collector's location where the sample is taken}
#' \item{Sample_Date}{a date denoting the date when the sample was collected}
#' \item{Gage_Ht}{a number denoting the height of the water surface above the gage datum (zero point) at sampling time (in meters)}
#' \item{Temp}{a number denoting the temperature of the sample collected}
#' \item{pH}{a number pH (Electrometric with combination electrode)}
#' \item{Cond}{a number denoting the conductivity (Conductivity bridge in micro siemens/cm)}
#' \item{Cl}{a number denoting the concentration of Chloride (up to 1989 by automated colorimetric analysis (thiocyanate); after 1989 by liquid chromatography with conductivity detection) in mg Cl/L}
#' \item{NO3}{a number denoting the concentration of dissolved nitrate in the stream water in ug N/L}
#' \item{SO4-S}{a number denoting the concentration of Sulfate (Liquid chromatography; conductivity detection) in mg/L}
#' \item{Na}{a number denoting the concentration of Sodium (up to 1994 by atomic absorption spectroscopy) in mg/L}
#' \item{K}{a number denoting the concentration of Potassium (up to 1994 by atomic absorption spectroscopy) in mg/L}
#' \item{Mg}{a number denoting the concentration of Magnesium (up to 1994 by atomic absorption spectroscopy) in mg/L}
#' \item{Ca}{a number denoting the concentration of Calcium (up to 1994 by atomic absorption spectroscopy) in mg/L}
#' \item{NH4-N}{a number denoting the concentration of Ammonium Nitrogen (automated colorimetric analysis (phenolhypochlorite)) in ug N/L}
#' \item{DOC}{a number denoting Dissolved Organic Carbon in the stream water ion milligrams carbon per liter (mg C/L)}
#' \item{DIC}{a number denoting Dissolved Inorganic Carbon (by syringe stripping and infrared spectroscopy (Stainton 1973)) in mg C/L}
#' \item{SiO2}{a number denoting the concentration of Silica (automated colorimetric analysis (molybdate blue)) in mg SiO2/L}
#' \item{TSS}{a number denoting the Total Suspended Sediments in mg/L}
#' }
#' @source {McDowell, W. 2021. Chemistry of stream water from the Luquillo Mountains ver 4923056. Environmental Data Initiative.}
#' \doi{10.6073/pasta/0a09f5aa2e6f11451553c92b102279a6}
"luq_streamchem"
14 changes: 14 additions & 0 deletions R/ntl_airtemp_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Daily Average Temperature Data in Madison, WI (1869 - 2019), North Temperate Lakes LTER
#'
#' Data includes date of collection, year of collection, and average air temperature in Madison, WI. Daily meteorological data was collected from various sites around Madison, WI since 1869. The final temperature data included is averaged for each year. Note: according to the metadata, temperature data collected prior to 1884 contains biases.
#'
#' @format A tibble with 55151 rows and 3 variables
#' \describe{
#' \item{sampledate}{a date denoting the day of collection}
#' \item{year}{a number denoting the year of observation}
#' \item{ave_air_temp_adjusted}{a number denoting the air temperature in degrees Celsius, collected in Madison, WI and adjusted for biases}
#' }

#' @source {Anderson, L. and D. Robertson. 2020. Madison Wisconsin Daily Meteorological Data 1869 - current ver 32. Environmental Data Initiative.}
#' \doi{10.6073/pasta/e3ff85971d817e9898bb8a83fb4c3a8b}
"ntl_airtemp"
19 changes: 19 additions & 0 deletions R/ntl_icecover_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#' Ice Freeze and Thaw Dates for Madison, WI Area Lakes (1853 - 2019), North Temperate Lakes LTER
#'
#' Data includes lake name, dates of freeze-up and thaw, and duration of ice cover of lakes in the Madison, WI area. Ice cover duration is the number of days that a lake is frozen, excluding periods where the lake thaws before refreezing again. Lakes Monona and Wingra are considered to be frozen if they are completely ice covered,
#' while Lake Mendota is considered to be frozen if there is ice from Picnic Point to Maple Bluff and more than 50% of the lake is covered by ice.
#'
#' @format A tibble with 431 rows and 5 variables
#' \describe{
#' \item{lakeid}{a factor denoting the lake name}
#' \item{ice_on}{a date denoting the freeze date of each lake}
#' \item{ice_off}{a date denoting the ice breakup date of each lake}
#' \item{ice_duration}{a number denoting the number of days between the freeze and breakup dates of each lake}
#' \item{year}{a number denoting the year of observation}
#' }
#' @source {Magnuson, J.J., S.R. Carpenter, and E.H. Stanley. 2021. North Temperate Lakes LTER: Ice Duration - Madison Lakes Area 1853 - current ver 35. Environmental Data Initiative.}
#' \doi{10.6073/pasta/ab31f2489ee436beb73fc8f1d0213d97}
"ntl_icecover"



19 changes: 19 additions & 0 deletions R/nwt_pikas_doc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#' American Pika (Ochotona princeps) Stress and Habitat Measurements (2018), Niwot Ridge LTER
#'
#' Niwot Ridge American pika (Ochotona princeps) stress data collected every two weeks from June-September 2018. Stress was measured by observing the amount of glucocorticoid metabolite present in pika feces and sex was determined via genetic analysis of the fecal sample.
#'
#' @format A tibble with 109 rows and 7 variables
#' \describe{
#' \item{date}{a date denoting the observation date of the fecal sample}
#' \item{site}{a factor denoting the location where the fecal sample was collected within Niwot Ridge}
#' \item{station}{a factor denoting the sample station where the fecal sample was collected}
#' \item{utm_easting}{a number denoting the GPS E-W coordinate of the sampling station as Universal Transverse Mercator easting; NAD83, Zone 13. Measured in meters.}
#' \item{utm_northing}{a number denoting the GPS N-S coordinate of the sampling stations as Universal Transverse Mercator northing; NAD83, Zone 13. Measured in meters.}
#' \item{sex}{a factor denoting the sex of the observed pika}
#' \item{concentration_pg_m}{a number denoting the glucocorticoid metabolite (GCM) concentration in picogram GCM/gram dry pika feces}
#' \item{elev_m}{a number denoting the elevation in meters of the sampling station where the fecal sample was collected}
#' }
#' @source {Whipple, A. and Niwot Ridge LTER. 2020. Physiological stress of American pika (Ochotona princeps) and associated habitat characteristics for Niwot Ridge, 2018 - 2019 ver 1. Environmental Data Initiative.}
#' \doi{10.6073/pasta/9f95baf55f98732f47a8844821ff690d}

"nwt_pikas"

0 comments on commit 7dab1fa

Please sign in to comment.