Diagnose Creative Commons Licensing

cc_metrics(cc_license_check = NULL)

cc_compliance_metrics(cc_license_check = NULL)

Arguments

cc_license_check

tibble, result from license_check()

Functions

  • cc_metrics: Presents normalised CC licence variants. For example, BY (absolute and relative).

  • cc_compliance_metrics: Presents the result of the CC compliance check. Absolute and relative normalised CC licence variants.

See also

Examples

# obtain metadata from Crossref API
req <- get_cr_md(doi_examples$good)

# check article-level compliance
out <- cr_compliance_overview(req)
# obtain CC variants metrics
cc_metrics(out$cc_license_check)
#> # A tibble: 4 x 3
#>   indicator value   prop
#>   <chr>     <int>  <dbl>
#> 1 by          253 89.1  
#> 2 by-nc        25  8.80 
#> 3 by-nc-nd      4  1.41 
#> 4 by-sa         2  0.704
# Obtain cc compliance check resutls metrics
cc_compliance_metrics(out$cc_license_check)
#> # A tibble: 3 x 3
#>   indicator                                                          value  prop
#>   <chr>                                                              <int> <dbl>
#> 1 All fine!                                                            213 75   
#> 2 Difference between publication date and the CC license's start_da…    65 22.9 
#> 3 No Creative Commons license metadata found for version of record       6  2.11