From 1424162f358dfd96fc7ff8d8e1d38a192d7fc2cf Mon Sep 17 00:00:00 2001 From: njlyon0 Date: Fri, 23 Aug 2024 12:33:37 -0400 Subject: [PATCH] feat!: deprecated standalone 'portfolio' page and added a streamlined version of its content to the 'services' page --- _freeze/portfolio/execute-results/html.json | 15 --------------- portfolio.qmd => _pages_deprecated/portfolio.qmd | 0 _quarto.yml | 4 +--- wg_services.qmd | 14 ++++++++++++++ 4 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 _freeze/portfolio/execute-results/html.json rename portfolio.qmd => _pages_deprecated/portfolio.qmd (100%) diff --git a/_freeze/portfolio/execute-results/html.json b/_freeze/portfolio/execute-results/html.json deleted file mode 100644 index f47b6a3..0000000 --- a/_freeze/portfolio/execute-results/html.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "hash": "bcdfae4a32b4b149252bee467253f02a", - "result": { - "engine": "knitr", - "markdown": "---\ntitle: \"Portfolio\"\n---\n\n\n## Data Synthesizing\n\nWorking groups have often asked our team to synthesize and wrangle data from various heterogeneous datasets. For example, the [Plant Reproduction working group](https://lternet.edu/working-groups/identifying-environmental-drivers-of-plant-reproduction-across-lter-sites/) had their own plant species data that they compiled from literature and expert knowledge. To get more data, we pulled from the [TRY plant trait database](https://www.try-db.org/TryWeb/Home.php) and wrangled the dataset. After fixing the TRY column headers, values and units, we combined synonymous columns together with the working group's original dataset. We ended up with a comprehensive, tidy dataset that covered over 100 plant species. \n\nIn another example, the [Soil Phosphorus working group](https://lternet.edu/working-groups/soil-p-control-of-c-and-n/) had gathered a bunch of soil nutrient datasets that all had different column headers and units. To combine these datasets together, we standardized the column headers via a data key, which consisted of a spreadsheet connecting the old column names to the new combined column names. Then we were able to synthesize the separate csv files into one master dataset. \n\nData synthesizing remains one of our most popular requests so please do not hesitate to reach out to us if we can help with this task, no matter how big or small. \n\n## Spatial Analyses & Wrangling\n\nOur team has been instrumental in acquiring, wrangling, and summarizing spatial data. For the [Silica Exports working group](https://lternet.edu/working-groups/from-poles-to-tropics-a-multi-biome-synthesis-investigating-the-controls-on-river-si-exports/) we developed a workflow (see [here](https://github.com/lter/lterwg-si-export)) that accomplishes the following tasks:\n\n1. Creates shapefiles that identify the drainage basin linked to several hundred stream gages\n\n2. \"Cookie cuts\" spatial data within those drainage basins (e.g., land cover, lithology, precipitation, etc.)\n\n3. Summarizes that extracted data both as rasters and as data tables for use as explanatory variables in other analyses\n\nWe are comfortable working with such data and can help your team acquire and/or process spatial data if that is of interest!\n\n## Figures for Publication\n\nAdditionally, our team is available to help your group create visualizations for publications! We have generated many figures for the Plant Reproduction working group's paper on mast seeding synchrony using `ggplot`. Please feel free to reach out to us for help on visualizations when your team has reached the writing stage in your project. \n\n## Project Websites\n\nOur team also helped build [a website](https://lter.github.io/som-website/index.html) for the [Soil Organic Matter (SOM) working group](https://lternet.edu/working-groups/advancing-soil-organic-matter-research/). One of this group's primary products was a synthesized data package containing observed data, modifications of that data, and models based on them. The website operates in part to publicize this data product but also to provide a central location for other resources developed by or important to the SOM group. \n\nFor your group we can (if desired):\n\n- Build a website using [Quarto](https://quarto.org/)\n - All website content creation can be done via RStudio which your group may already be somewhat familiar with\n - Quarto also offers a new \"visual editor\" that lets you format text as you would in any word processor (i.e., Microsoft Word, Pages, etc.)\n- Maintain the website **OR** help *you* to maintain it\n - Quarto is written entirely in \"Markdown syntax\" which makes it easily maintained by either our team or yours depending on your preference\n - We have also created a [tutorial on making websites with Quarto](https://lter.github.io/scicomp/tutorials.html#building-a-website-with-quarto) that you are welcome to explore!\n\n## R Packages\n\n\"Hex\n\n#### `scicomptools`\n\nWhile much of the work we do is specific to a given working group or task, sometimes we realize afterwards that our functions have the potential to be useful beyond the scope for which they were initially written. To that end, we have created the R package [`scicomptools`](https://github.com/NCEAS/scicomptools#readme)!\n\n##### Package Description\n\nThis package contains a diverse mix of functions for everything from repetitive data wrangling tasks to checking whether you have a token attached for GitHub. In addition, functions that we wrote that are deprecated (usually because their internal workings have been superseded by packages on CRAN) are removed from the package but retained in the GitHub repository in case they are useful to you! **All functions--both live and deprecated--are summarized in the README on the [GitHub repository](https://github.com/NCEAS/scicomptools) so take a look!**\n\n##### Installation Instructions\n\nTo install the package in R, use the following:\n\n\n::: {.cell}\n\n```{.r .cell-code}\ninstall.packages(\"scicomptools\")\n```\n:::\n\n\n\n\n#### `HERON`\n\nWhen we've developed enough custom functions for a working group's workflow, we can move those functions into its very own R package! For example, we've created a package for the Silica Exports working group called `HERON` (\"HElpers for River ObservatioN\"). \n\n##### Package Description\n\nThis package contains several helper functions that are integral to the group's workflow, which includes identifying inflection points (i.e., hills & valleys) in trendlines and running separate regressions on each chunk of the line between such points. `HERON` is meant to be used for workflows involving the `EGRET` and `SiZer` R packages.\n\n##### Installation Instructions\n\nTo install the package in R, use the following:\n\n\n::: {.cell}\n\n```{.r .cell-code}\n# install.packages(\"devtools\")\ndevtools::install_github(\"lter/HERON\")\n```\n:::\n\n\n## Shiny Apps\n\n\"Hex\n\nOur team created another R package--`lterpalettefinder`--to extract color palettes from user-supplied photos. To help non-R users still explore this package and have fun pulling color palettes from photos, we created [this standalone Shiny app](https://cosima.nceas.ucsb.edu/lterpalettefinder-shiny/). This app lets anyone interact with `lterpalettefinder` via their browser with no R experience required!\n\nWe have also built apps to help working groups visualize data or present survey results in an interactive, visually-appealing format. Shiny apps can also include useful 'overview' portions that serve as an excellent landing page for third parties to your group's activities!\n\n\n", - "supporting": [], - "filters": [ - "rmarkdown/pagebreak.lua" - ], - "includes": {}, - "engineDependencies": {}, - "preserve": {}, - "postProcess": true - } -} \ No newline at end of file diff --git a/portfolio.qmd b/_pages_deprecated/portfolio.qmd similarity index 100% rename from portfolio.qmd rename to _pages_deprecated/portfolio.qmd diff --git a/_quarto.yml b/_quarto.yml index 82044f8..6444aeb 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -2,7 +2,7 @@ project: type: website execute-dir: project output-dir: docs - + execute: freeze: auto @@ -51,8 +51,6 @@ website: href: tip_paths.qmd - text: "Package Loading" href: tip_packages.qmd - - text: "Portfolio" - href: portfolio.qmd right: - text: "Our Team" menu: diff --git a/wg_services.qmd b/wg_services.qmd index 5523a17..6bcb315 100644 --- a/wg_services.qmd +++ b/wg_services.qmd @@ -44,3 +44,17 @@ The tutorials tend to be smaller in scope than the full workshops and more 'go a ### Tips Finally, we've also curated a set of 'code tips' that are even smaller in scale than the tutorials. These are often just a short summary of our team's opinion on a given subject. + +## Selected Portfolio Items + +We thought it might be nice to highlight a few representative products that have come out of our support in order to make our services a little more tangible. + +- Data harmonization & wrangling -- [{{< fa brands github >}}](https://github.com/lter/lter-sparc-soil-p/blob/main/1_harmonize.R) | [{{< fa brands github >}}](https://github.com/lter/lterwg-marine-cnd) +- Spatial data processing -- [{{< fa brands github >}}](https://github.com/lter/lter-sparc-fire-arid-streams/tree/main/spatial_covars) | [{{< fa brands github >}}](https://github.com/lter/lterwg-silica-spatial) +- Creating a website for your working group to showcase products -- [{{< fa globe >}}](https://lter.github.io/som-website) +- Advice on project structure and file naming conventions -- [{{< fa brands github >}}](https://github.com/lter/lterwg-flux-gradient) +- Designing standalone GitHub repositories for particular papers -- [{{< fa brands github >}}](https://github.com/lter/lterwg-plant-repro-synchrony) | [{{< fa brands github >}}](https://github.com/njlyon0/lter_silica-high-latitude) +- Creating an R package for frequently used tools -- [{{< fa globe >}}](https://lter.github.io/HERON/) | [{{< fa globe >}}](https://lter.github.io/ltertools/) +- Writing & deploying interactive Shiny apps -- [{{< fa globe >}}](https://cosima.nceas.ucsb.edu/lterpalettefinder-shiny/) + +If desired, we are also happy to write parts of the Methods and/or Results sections of manuscripts being prepared for publication. **We do not require you to add members of our team as co-authors on _any_ product**. That said, many groups offer authorship if we meet the criteria they set out for their other collaborators.