To search Fennica data in Finna
N.B In the search_finna() default limit of 100 records is being used. Specify 'limit' argument for more records.
library(finna) fennica <- search_finna("*",filters=c('collection:"FEN"')) print(fennica)
In order to download the whole data we can add the parameter limit = Inf
as search_finna("*",filters=c('collection:"FEN"'), limit = Inf)
search the whole data and it total search of counts in the the interval between some years for example between the years 1809-1917 as follows:
library(finna) fennica <- search_finna("*",filters = c('collection:"FEN"', 'search_daterange_mv:"[1808 TO 1918]"')) print(fennica)
we can check the whole data count
library(finna) fennica <- search_finna("*",filters = c('collection:"FEN"', 'search_daterange_mv:"[1809 TO 1918]"')) result_count <- attr(fennica, "result_count") print(result_count)
We can use any of the functions provided to visualize the data
library(finna) fennica <- search_finna("*",filters = c('collection:"FEN"', 'search_daterange_mv:"[1809 TO 1918]"')) refined_data <- refine_metadata(fennica)
library(finna) library(ggplot2) fennica <- search_finna("*",filters = c('collection:"FEN"', 'search_daterange_mv:"[1809 TO 1918]"')) refined_data <- refine_metadata(fennica) top_plot(refined_data, field = "Year") + xlab("Publication Year") + # Custom X-axis label ylab("Number of Publications") # Custom Y-axis label
This way, you can extract specific metadata like authors, publication years, and call numbers using the search_finna
function.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.