fqar
Floristic Quality Assessment (FQA) is a standardized method for rating the ecological value of natural areas based on the plant species found within them.
https://github.com/equitable-equations/fqar
Category: Biosphere
Sub Category: Biodiversity Analysis and Metrics
Last synced: about 18 hours ago
JSON representation
Repository metadata
The fqar package provides R tools for downloading and analyzing floristic quality assessment data from www.universalFQA.org
- Host: GitHub
- URL: https://github.com/equitable-equations/fqar
- Owner: equitable-equations
- License: other
- Created: 2022-08-06T02:08:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T16:06:51.000Z (3 months ago)
- Last Synced: 2025-04-22T02:01:44.121Z (9 days ago)
- Language: R
- Homepage:
- Size: 1.52 MB
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 0
- Releases: 1
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
README.md
fqar
Floristic Quality Assessment (FQA) is a standardized method for rating the ecological value of natural areas based on the plant species found within them. The ${\tt fqar}$ package provides tools to download and analyze floristic quality assessments from universalfqa.org, an online database maintained by Openlands.
Installation
The ${\tt fqar}$ package is available on CRAN.
install.packages("fqar")
Alternatively, the development version can be installed from GitHub.
devtools::install_github("equitable-equations/fqar")
Usage
The ${\tt fqar}$ package consists of four categories of functions: indexing, downloading, tidying, and analytic functions. ${\tt fqar}$ also includes two sample data sets.
Indexing functions
At the simplest level, fqar
allows users to obtain specific information about the databases, assessments, and transect assessments available from universalfqa.org.
# download a list of all fqa databases:
databases <- index_fqa_databases()
# download a list of all assessments in a specific database:
chicago_fqas <- index_fqa_assessments(database_id = 149)
# download a list of all transect assessments in a specific database:
chicago_transects <- index_fqa_transects(database_id = 149)
Downloading functions
Floristic quality assessments can be downloaded individually by ID number or collectively using dplyr::filter
syntax.
# download a single assessment using the `assessment_id` assigned by
# [universalfqa.org](https://universalfqa.org/). These identifiers
# can be found using `index_fqa_assessments`.
woodland <- download_assessment(assessment_id = 25640)
# download multiple assessments:
mcdonald_fqas <- download_assessment_list(database_id = 149,
site == "McDonald Woods")
${\tt fqar}$ also provides functions for downloading transect assessments.
# download a single transect assessment:
rock_garden <- download_transect(transect_id = 6875)
# download multiple transect assessments:
lord_fqas <- download_transect_list(database = 63,
practitioner == "Sam Lord")
Unfortunately, the universalfqa.org server is often slow, and downloads (especially for transect assessments) may take some time.
Tidying functions
Data sets obtained from universalfqa.org are quite messy. ${\tt fqar}$ provides tools for converting such sets into a more convenient tidy format.
# obtain a data frame with species data for a downloaded assessment:
woodland_species <- assessment_inventory(woodland)
# obtain a data frame with summary information for a downloaded assessment:
woodland_summary <- assessment_glance(woodland)
# obtain a data frame with summary information for multiple downloaded assessments:
mcdonald_summary <- assessment_list_glance(mcdonald_fqas)
Similar functions are provided for handling transect assessments. For those sets, physiognometric information can also be extracted.
# obtain a data frame with species data for a downloaded transect assessment:
survey_species <- transect_inventory(rock_garden)
# obtain a data frame with physiognometric data for a downloaded transect assessment:
survey_phys <- transect_phys(rock_garden)
# obtain a data frame with summary information for a downloaded transect assessment:
rock_garden_summary <- transect_glance(rock_garden)
# obtain a data frame with summary information for multiple downloaded transect assessments:
lord_summary <- transect_list_glance(lord_fqas)
Analytic functions
As of version 0.3.0, ${\tt fqar}$ includes tools for analyzing species co-occurrence across multiple floristic quality assessments. A typical workflow consists of downloading a list of assessments, extracting inventories from each, then enumerating and summarizing co-occurrences of the species of interest.
# Obtain a tidy data frame of all co-occurrences in the 1995 Southern Ontario database:
ontario <- download_assessment_list(database = 2)
# Extract inventories as a list:
ontario_invs <- assessment_list_inventory(ontario)
# Enumerate all co-occurrences in this database:
ontario_cooccurrences <- assessment_cooccurrences(ontario_invs)
# Sumamrize co-occurrences in this database, one row per target species:
ontario_cooccurrences <- assessment_cooccurrences_summary(ontario_invs)
Of particular note is the species_profile()
function, which returns the frequency distribution of C-values of co-occurring species for a given target species.
aster_profile <- species_profile("Aster lateriflorus", ontario_invs)
Learn More
- Read the ${\tt fqar}$ vignette to learn how to download and analyze FQAs with fqar.
- View the help files of any function in the ${\tt fqar}$ package for more examples.
Contribute
To contribute to ${\tt fqar}$ you can fork this repository and create pull requests to add features you think will be useful for users. You can also open an issue if you find a bug or wish to make a suggestion.
Owner metadata
- Name: Andrew Gard
- Login: equitable-equations
- Email:
- Kind: user
- Description: Check me out on YouTube or come see me in person at Lake Forest College, where I teach data science and do all sorts of cool research.
- Website: https://www.youtube.com/c/EquitableEquations
- Location: Lake Forest, IL
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/110704949?u=1d95128615bdc3376041c5def281812d011d787d&v=4
- Repositories: 4
- Last ynced at: 2023-09-01T18:25:41.181Z
- Profile URL: https://github.com/equitable-equations
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers metadata
Last synced: 10 days ago
Total Commits: 399
Total Committers: 4
Avg Commits per committer: 99.75
Development Distribution Score (DDS): 0.013
Commits in past year: 19
Committers in past year: 1
Avg Commits per committer in past year: 19.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
equitable-equations | a****d@l****u | 394 |
ireneluwa | i****a@g****m | 3 |
DavisVaughan | d****s@r****m | 1 |
Alexia Myers | 1****s | 1 |
Committer domains:
- rstudio.com: 1
- lakeforest.edu: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 10
Total pull requests: 6
Average time to close issues: about 1 month
Average time to close pull requests: 6 days
Total issue authors: 2
Total pull request authors: 4
Average comments per issue: 2.1
Average comments per pull request: 0.5
Merged pull request: 6
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- mhesselbarth (5)
- ifoxfoot (5)
Top Pull Request Authors
- ireneluwa (3)
- mikemahoney218 (1)
- alexiamyers (1)
- DavisVaughan (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 216 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 10
- Total maintainers: 1
cran.r-project.org: fqar
Floristic Quality Assessment Tools for R
- Homepage: https://github.com/equitable-equations/fqar/
- Documentation: http://cran.r-project.org/web/packages/fqar/fqar.pdf
- Licenses: MIT + file LICENSE
- Latest release: 0.5.4 (published 7 months ago)
- Last Synced: 2025-04-29T05:30:22.119Z (2 days ago)
- Versions: 10
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 216 Last month
-
Rankings:
- Forks count: 17.77%
- Dependent packages count: 29.797%
- Stargazers count: 35.156%
- Dependent repos count: 35.455%
- Average: 40.455%
- Downloads: 84.097%
- Maintainers (1)
Dependencies
- R >= 4.1.0 depends
- dplyr * imports
- jsonlite * imports
- rlang * imports
- tidyr * imports
- ggplot2 * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
- actions/checkout v2 composite
- actions/upload-artifact v1 composite
- openjournals/openjournals-draft-action master composite
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
Score: 8.375629627094451