SPI-Birds / pipelines

Pipelines for generating a standard data format for bird data
2 stars 6 forks source link

All NAs for ExperimentIDs in PARMAJ capture records #174

Closed cwtyson closed 3 years ago

cwtyson commented 3 years ago

In the full standard data, all ExperimentID values for PARMAJ captures are NA. Other species have values though.

LiamDBailey commented 3 years ago

@cwtyson is this redundant with #175?

cwtyson commented 3 years ago

@LiamDBailey I think it is a different issue, but it might be related. The problem here is that there are no ExperimentIDs for PARMAJ, which seems suspicious. For #175, the ExperimentID column is missing from the capture table returned by format_AMM.

LiamDBailey commented 3 years ago

@cwtyson this is then the same issue right? If the ExperimentID column is missing in format_AMM() then it will be filled with NAs when we use dplyr::bind_rows() to combine different pipeline outputs. Can you give me a reprex if I'm not understanding.

cwtyson commented 3 years ago

True, but I would think other populations would have PARMAJ capture records associated with experiments. There might not be any though if AMM is the only population with many PARMAJ records that is formatted to the protocol version 1.1 since ExperimentID wasn't part of the capture table in version 1.0. In that case, this issue would be fixed.

LiamDBailey commented 3 years ago

Yea, it's a bit hard to say without knowing all the experimental history of each population 😅. For now #178 should add ExperimentID for AMM, and we should just keep an eye on this in the future.

cwtyson commented 3 years ago

Sounds good