Skip to contents

base::get does not work with package scoping (e.g. get("pkg::var")). plnr::get_anything works with package scoping.

Usage

get_anything(x)

Arguments

x

the string that we are getting

Examples

plnr::get_anything("plnr::nor_covid19_cases_by_time_location")
#>        granularity_time granularity_geo country_iso3 location_code border   age
#>     1:              day          county          nor  county_nor03   2020 total
#>     2:              day          county          nor  county_nor03   2020 total
#>     3:              day          county          nor  county_nor03   2020 total
#>     4:              day          county          nor  county_nor03   2020 total
#>     5:              day          county          nor  county_nor03   2020 total
#>    ---                                                                         
#> 11024:          isoweek          nation          nor    nation_nor   2020 total
#> 11025:          isoweek          nation          nor    nation_nor   2020 total
#> 11026:          isoweek          nation          nor    nation_nor   2020 total
#> 11027:          isoweek          nation          nor    nation_nor   2020 total
#> 11028:          isoweek          nation          nor    nation_nor   2020 total
#>          sex isoyear isoweek isoyearweek    season seasonweek calyear calmonth
#>     1: total    2020       8     2020-08 2019/2020         31    2020        2
#>     2: total    2020       8     2020-08 2019/2020         31    2020        2
#>     3: total    2020       8     2020-08 2019/2020         31    2020        2
#>     4: total    2020       9     2020-09 2019/2020         32    2020        2
#>     5: total    2020       9     2020-09 2019/2020         32    2020        2
#>    ---                                                                        
#> 11024: total    2022      14     2022-14 2021/2022         37      NA       NA
#> 11025: total    2022      15     2022-15 2021/2022         38      NA       NA
#> 11026: total    2022      16     2022-16 2021/2022         39      NA       NA
#> 11027: total    2022      17     2022-17 2021/2022         40      NA       NA
#> 11028: total    2022      18     2022-18 2021/2022         41      NA       NA
#>        calyearmonth       date covid19_cases_testdate_n
#>     1:     2020-M02 2020-02-21                        0
#>     2:     2020-M02 2020-02-22                        0
#>     3:     2020-M02 2020-02-23                        0
#>     4:     2020-M02 2020-02-24                        0
#>     5:     2020-M02 2020-02-25                        0
#>    ---                                                 
#> 11024:         <NA> 2022-04-10                     6888
#> 11025:         <NA> 2022-04-17                     3635
#> 11026:         <NA> 2022-04-24                     3764
#> 11027:         <NA> 2022-05-01                     2243
#> 11028:         <NA> 2022-05-08                      502
#>        covid19_cases_testdate_pr100000
#>     1:                        0.000000
#>     2:                        0.000000
#>     3:                        0.000000
#>     4:                        0.000000
#>     5:                        0.000000
#>    ---                                
#> 11024:                      126.961423
#> 11025:                       67.001274
#> 11026:                       69.379036
#> 11027:                       41.343564
#> 11028:                        9.252996