Description Usage Arguments Value Source Examples
View source: R/get_pdxTrees_streets.R
This function pulls the pdxTrees_streets dataset from the GitHub repository: https://github.com/mcconvil/pdxTrees. pdxTrees_streets is a data frame of all the street trees in the 96 neighborhoods of Portland, OR and was collected as part of the Urban Forestry Tree Inventory Project.
1 | get_pdxTrees_streets(neighborhood = NULL)
|
neighborhood |
A vector of neighborhood names for filtering the data. If NULL, all street trees will be returned. |
Returns a data frame with 218602 rows and 23 variables:
ID
Date of data collection
Species of the tree. All dead trees were listed as "unknown"
Common name of the tree
Diameter at breast height (4.5' above ground)
Trees were rated as good, fair, poor, or dead. These general ratings reflect whether or not a tree is likely to continue contributing to the urban forest (good and fair trees) or whether the tree is at or near the end of its life (poor and dead trees).
Where along the street the tree was located. There are 8 different site types and more info can be found here: http://gis-pdx.opendata.arcgis.com/datasets/street-trees
Categorical size of the site: Small, Medium, Large
How wide the site was in ft.
Whether or not the site had wires: High voltage, No High voltage (No HV), other
The condition of the site either being improved (ex. along a side walk or paved roadway ) or unimproved (a gravel road))
The address where the tree is located
The Portland neighborhood in which the tree is located
Who collected the data on this tree: staff or volunteer
Scientific name of the tree
Family of the tree
Genus of the tree
Categorical variable with groups: Broadleaf Deciduous (BD), Broadleaf Evergreen (BE), Coniferous Deciduous (CD), and Coniferous Evergreen (CE)
Categorical variable with groups: Large (L), Medium (M), and Small (S). Categorization is based on the height, canopy width, and general form of the tree at maturity
Categorical variable of edible trees
Note on the data collection
Longitude
Latitude
https://www.portlandoregon.gov/parks/article/433143
1 2 3 4 5 6 7 8 | # To grab all trees
get_pdxTrees_streets()
# To grab trees from one neighborhood
get_pdxTrees_streets(neighborhood = "Concordia")
# To grab trees from multiple neighborhoods
get_pdxTrees_streets(neighborhood = c("Concordia","Eastmoreland","Sunnyside"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.