Use scenario where OpenAlex is stored locally?
To try to speed up many accesses to OpenAlex, my lab is interested in having a fork of OpenAlex run locally on one of our machines (following the instructions at https://docs.openalex.org/download-all-data/download-to-your-machine). Can OpenAlexR be configured to make its queries to our local machine's data storage?
Hi Rob 👋🏽 I'm not sure about the improved efficiency of querying against your own database, but the oa_fetch() function has an endpoint parameter that you can use to point it to your local database.
https://docs.ropensci.org/openalexR/reference/oa_fetch.html
Hi Rob.
I would be interested in doing that as well, but please correct me if I am wrong, the site you are linking to omit describes the download of the data snapshot, and not setting up an instance of OpenAlex?
When you have setup the instance incl API, you can easily use that one instead of the OpenAlex endpoint.
If this is the case, please let me know how you did this. Thanks.