-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data request example (from Markus Erhard Schorn) and my solution strategy #45
Comments
Thanks @tz05! You can also add the code here either by dragging and dropping the file or by putting it in a comment using ``` (3 backticks) on the line before and the line after the code. For example:
|
Thanks @tz05, will have a look at this and get back to you if I do get any question. |
@tz05 I want to confirm what I think is the goal of the code. |
My suggestion is merging PLOT.csv and COND.csv first and then merging it with TREE.csv. Merging of PLOT.csv and COND.csv needs to use CN (in PLOT) and PLT_CN (in COND). The CN field in COND is irrelevant in this merging. And in this step, I filtered out the plots which contain multiple (>1) conditions. This is because for these plots, tree records cannot easily be merged to the plot+condition records. A tree should only associate with one condition; but for these plots, it is hard (if not impossible) to tell which "condition" a tree is associated with. Merging this plot+condition data with TREE data needs to use PLT_CN (in TREE) and CN (in PLOT).
|
I hope this is what the end goal is. I will have to add some code to perform specific attribute filtering at this level for individual files. |
About your diagram, two things need to be pay attention to:
Wish these comments helpful. |
To keep a record, I uploaded my demonstration pdf file here for reference. |
The original request (from Markus Erhard Schorn):
a) a tree-level datafile
b) a plot-level datafile
I need this for data from WA and OR. For training purposes, the data could be filtered for FORTYPCD == 201 already, but I'd rather have the full dataset and do that myself later on. Also you could filter for remeasured plots only, but the same applies here.
Description of my data product (with R):
The text was updated successfully, but these errors were encountered: