Skip to contents

Get names of data.frames from package

Usage

get_pkg_df_names(pkg)

Value

named vector of data.frames in package

Examples

get_pkg_df_names(pkg = "base")
#> NULL
get_pkg_df_names(pkg = "datasets")
#>  [1] "BOD"              "CO2"              "ChickWeight"      "DNase"           
#>  [5] "Formaldehyde"     "Indometh"         "InsectSprays"     "LifeCycleSavings"
#>  [9] "Loblolly"         "Orange"           "OrchardSprays"    "PlantGrowth"     
#> [13] "Puromycin"        "Theoph"           "ToothGrowth"      "USArrests"       
#> [17] "USJudgeRatings"   "airquality"       "anscombe"         "attenu"          
#> [21] "attitude"         "beaver1"          "beaver2"          "cars"            
#> [25] "chickwts"         "esoph"            "faithful"         "freeny"          
#> [29] "infert"           "iris"             "longley"          "morley"          
#> [33] "mtcars"           "npk"              "penguins"         "penguins_raw"    
#> [37] "pressure"         "quakes"           "randu"            "rock"            
#> [41] "sleep"            "stackloss"        "swiss"            "trees"           
#> [45] "warpbreaks"       "women"