This function returns quarterly full XBRL dumps for all SEC registered public companies begining in 2009.

sec_xbrl_periods(
  only_most_recent = TRUE,
  years = NULL,
  quarters = NULL,
  tables = NULL,
  only_all = TRUE,
  assign_to_environment = TRUE,
  return_message = TRUE
)

Arguments

only_most_recent

TRUE search only the most recent period

years

years to include starting in 2009

quarters

quarters to search

  • NULL(default): all quarters,

  • 1: Q1

  • 2: Q2

  • 3: Q3

  • 4: Q4

tables

underlying XBRL tables you want to include

  • NULL: all tables (default)

  • Presentation: presentation data

  • Values: XBRL value data

  • Filers: filer data

  • Taxonomy: taxonomy data

only_all

TRUE returns a joined file of the four tables

assign_to_environment

TRUE assign the results into your environment

return_message

TRUE return a message after data import

Value

nested tibble or tibble

References

The Securities and Exchange Commission

See also

Examples

if (FALSE) {
sec_xbrl_periods(only_most_recent = TRUE, only_all = TRUE, assign_to_environment = TRUE, return_message = TRUE)
}