Fix string NA vs NA in MANC for cf_meta
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start by tracing the cf_meta call used with cf_ids in the MANC dataset path. Reproduce the example with datasets "manc", "malecns", and "yakubavnc", then inspect how string NAs and empty strings are represented in the returned fields. Done means both forms are converted to actual R NA values in the output.
Written by the indexing model from the issue text.
Description
In MANC, there are string NAs, instead of actual NA (there are also "" that I've come across).
Could the string NAs and empty strings be replaced by NA so the output is already cleaned up?
cf_ids('/type:(pIP10|pMP2).*',
datasets = c("manc", "malecns", "yakubavnc")))
testna |> count(type, lineage, dataset)
type lineage dataset n
1 pIP10 NA manc 2
2 pIP10 <NA> malecns 2
3 pIP10 <NA> yakubavnc 2
4 pMP2 NA manc 2
5 pMP2 <NA> malecns 2
6 pMP2 <NA> yakubavnc 2
- Dominant language
- R
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from natverse/coconatfly
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
natverse/coconatfly#48 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
natverse/coconatfly#37 ·
-
More uniform fields Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
natverse/coconatfly#29 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
natverse/coconatfly#23 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
natverse/coconatfly#9 · 2 comments ·
All issues in natverse/coconatfly
Similar issues
-
documentation pkg infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
epiverse-trace/epiparameter#511 ·
-
function:write_dwc
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100