The most fitting reason for the author to describe Samara's visits to the library is:
Without research, Samara might not have known how to go about creating the park.
This highlights the importance of knowledge and preparation in Samara's journey as an activist and emphasizes that her efforts are grounded in research and education, which ultimately contribute to her success in creating the park.