Skip to content
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

extr_iris #15

Closed
c1au6i0 opened this issue Dec 6, 2024 · 0 comments
Closed

extr_iris #15

c1au6i0 opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@c1au6i0
Copy link
Owner

c1au6i0 commented Dec 6, 2024

For multiple casrn, extr_iris, extracts all the casrn info multiple times (x number of casrn).
It is looping twice...

dat <- extractox::extr_iris(c("50-00-0", "100-99-0"))
#> ℹ Checking Internet Connection...
#> ℹ Internet connection OK...
#> Quering 50-00-0 to EPA IRIS database...
#> Request succeeded with status code: 200
#> Quering 100-99-0 to EPA IRIS database...
#> Request succeeded with status code: 200

dat
#> # A tibble: 6 × 8
#>   chemical_name casrn   exposure_route assessment_type critical_effect_or_tumo…¹
#>   <chr>         <chr>   <chr>          <chr>           <chr>                    
#> 1 Formaldehyde  50-00-0 Oral           Noncancer       Reduced weight gain, his…
#> 2 Formaldehyde  50-00-0 Inhalation     Cancer          Nasopharyngeal cancer, s…
#> 3 Formaldehyde  50-00-0 Inhalation     Noncancer       Decreased pulmonary func…
#> 4 Formaldehyde  50-00-0 Inhalation     Cancer          Nasopharyngeal cancer, s…
#> 5 Formaldehyde  50-00-0 Inhalation     Noncancer       Decreased pulmonary func…
#> 6 Formaldehyde  50-00-0 Oral           Noncancer       Reduced weight gain, his…
#> # ℹ abbreviated name: ¹​critical_effect_or_tumor_type
#> # ℹ 3 more variables: woe_characterization <chr>, toxicity_value_type <chr>,
#> #   toxicity_value <chr>
@c1au6i0 c1au6i0 self-assigned this Dec 6, 2024
@c1au6i0 c1au6i0 added the bug Something isn't working label Dec 6, 2024
@c1au6i0 c1au6i0 closed this as completed in f45b180 Dec 6, 2024
c1au6i0 added a commit that referenced this issue Dec 6, 2024

Verified

This commit was signed with the committer’s verified signature.
PeterJohnson Peter Johnson
…o repetition 🐛 [skipci]
c1au6i0 added a commit that referenced this issue Dec 6, 2024
…o repetition 🐛
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant