Skip to contents

search

Usage

pplr_summary(limit = 10, offset = 0, ...)

Arguments

limit

number of records to return, default: 10

offset

record number to start at, default: first record

...

curl options passed on to [crul::HttpClient]

Examples

# basic example
pplr_summary()
#> $count
#> [1] 86810
#> 
#> $returned
#> [1] 10
#> 
#> $data
#> # A tibble: 10 × 81
#>    proj_metadata_key lter_project_fkey title              samplingunits datatype
#>                <int> <chr>             <chr>              <chr>         <chr>   
#>  1               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  2               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  3               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  4               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  5               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  6               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  7               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  8               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  9               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#> 10               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#> # ℹ 76 more variables: structured_type_1 <lgl>, structured_type_1_units <lgl>,
#> #   structured_type_2 <lgl>, structured_type_2_units <lgl>,
#> #   structured_type_3 <lgl>, structured_type_3_units <lgl>, studystartyr <chr>,
#> #   studyendyr <chr>, samplefreq <chr>, studytype <chr>, community <chr>,
#> #   spatial_replication_level_1_extent <chr>,
#> #   spatial_replication_level_1_extent_units <lgl>,
#> #   spatial_replication_level_1_label <chr>, …
#> 
#> $error
#> NULL
#> 
# pass in curl options for debugging, seeing http request details
pplr_summary(verbose = TRUE)
#> $count
#> [1] 86810
#> 
#> $returned
#> [1] 10
#> 
#> $data
#> # A tibble: 10 × 81
#>    proj_metadata_key lter_project_fkey title              samplingunits datatype
#>                <int> <chr>             <chr>              <chr>         <chr>   
#>  1               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  2               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  3               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  4               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  5               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  6               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  7               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  8               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#>  9               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#> 10               231 CDR               e097: Nitrogen Ad… g/m2          biomass 
#> # ℹ 76 more variables: structured_type_1 <lgl>, structured_type_1_units <lgl>,
#> #   structured_type_2 <lgl>, structured_type_2_units <lgl>,
#> #   structured_type_3 <lgl>, structured_type_3_units <lgl>, studystartyr <chr>,
#> #   studyendyr <chr>, samplefreq <chr>, studytype <chr>, community <chr>,
#> #   spatial_replication_level_1_extent <chr>,
#> #   spatial_replication_level_1_extent_units <lgl>,
#> #   spatial_replication_level_1_label <chr>, …
#> 
#> $error
#> NULL
#>