We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The tableinfo dataset is pretty much a raw representation of the tables found at each individual link shown here: https://exoplanetarchive.ipac.caltech.edu/docs/TAP/usingTAP.html
tableinfo
There could be some possible areas of improvement such as replacing "X" with TRUE, i.e. something more familiar to R users. Below are some ideas:
TRUE
library(dplyr) tableinfo %>% # remove all trailing/leading whitespace mutate(across( .cols = where(is.character), .fns = stringr::str_squish )) %>% # replace all empty character values with NA mutate(across( .cols = where(is.character), .fns = dplyr::na_if, "" )) %>% # if "X" return TRUE mutate(across( .cols = where(is.character), .fns = ~ ifelse( test = .x == "X", yes = TRUE, no = .x ) ))
The text was updated successfully, but these errors were encountered:
clean up tableinfo (#9)
9fcdee6
No branches or pull requests
The
tableinfo
dataset is pretty much a raw representation of the tables found at each individual link shown here: https://exoplanetarchive.ipac.caltech.edu/docs/TAP/usingTAP.htmlThere could be some possible areas of improvement such as replacing "X" with
TRUE
, i.e. something more familiar to R users. Below are some ideas:The text was updated successfully, but these errors were encountered: