Skip to contents

Summary statistics of the live database (live only).

Usage

stats_summary(
  evidence_scope = c("organism_or_enzyme", "whole_organism", "enzyme_only"),
  client = plasticdb_client()
)

stats_protein_activity(client = plasticdb_client())

stats_charts(
  evidence_scope = c("organism_or_enzyme", "whole_organism"),
  client = plasticdb_client()
)

stats_by_country(client = plasticdb_client())

Arguments

evidence_scope

"organism_or_enzyme" or "whole_organism"; stats_summary() also takes "enzyme_only" (count only the organisms credited through an enzyme).

client

A plasticdb_client().

Value

A plasticdb_record list, or a named list of tibbles.

Details

  • stats_summary(): headline counts (proteins, microorganisms, plastics, papers, pathways).

  • stats_protein_activity(): how many proteins degrade, fail to degrade, or are untested.

  • stats_charts(): the data behind the site's statistics charts, and stats_by_country() record counts by the corresponding author's country; both as a named list of tibbles.

Examples

stats_summary()$proteins
# \donttest{
stats_by_country()$microorganisms
# }