View source: R/analyze_trends_over_time.R
analyze_trends_over_time | R Documentation |
This function analyzes how search results for a given query have trended over time, binned by decades. It plots the number of records found for each decade, allowing users to observe long-term trends.
analyze_trends_over_time(data, query = "Records Over Time")
data |
A tibble containing Finna search results with a |
query |
A search query string (optional) to label the plot. |
A ggplot2 plot showing the trend of records over time.
finna_data <- search_finna("Sibelius")
trends <- analyze_trends_over_time(finna_data, "Sibelius")
print(trends)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.