This function extracts and returns the methods portion of a unified database, optionally retrieving a specific method by name.
Examples
# Import all databases
unified_db <- boilerplate_import()
#> ℹ importing all categories
#> ℹ using default path: /Users/joseph/GIT/boilerplate/boilerplate/data
#> ! data directory does not exist: /Users/joseph/GIT/boilerplate/boilerplate/data
#> ℹ importing measures database
#> ! measures database file not found, using default
#> ℹ importing methods database
#> ! methods database file not found, using default
#> ℹ importing results database
#> ! results database file not found, using default
#> ℹ importing discussion database
#> ! discussion database file not found, using default
#> ℹ importing appendix database
#> ! appendix database file not found, using default
#> ℹ importing template database
#> ! template database file not found, using default
# Get all methods
methods_db <- boilerplate_methods(unified_db)
# Get a specific method using dot notation
lmtp_method <- boilerplate_methods(unified_db, "statistical.longitudinal.lmtp")