Preprocess JECFA data
process_df.Rd
This function cleans the JECFA data by removing unnecessary columns and renaming the remaining ones.
Examples
c(1, 2) |>
purrr::map(\(id) compose_jecfa_list(id) |> get_result()) |>
create_df() |>
process_df()
#> # A tibble: 2 × 17
#> Report Report_sourcelink Tox.Monograph Tox.Monograph_source…¹ Specification
#> <chr> <chr> <chr> <chr> <chr>
#> 1 TRS 776-… http://apps.who.… FAS 24-JECFA… http://www.inchem.org… FAO Combined…
#> 2 TRS 909-… http://apps.who.… FAS 48-JECFA… http://www.inchem.org… Compendium o…
#> # ℹ abbreviated name: ¹Tox.Monograph_sourcelink
#> # ℹ 12 more variables: Specification_sourcelink <chr>, Synonyms <chr>,
#> # CAS.number <chr>, Functional.Class <chr>, Evaluation.year <chr>,
#> # Chemical.Names <chr>, JECFA.number <chr>, COE.number <chr>,
#> # FEMA.number <chr>, JECFA_name <chr>, URL <chr>, FAS <chr>