Prepare a directory for OpenAlex snapshot management
Source:R/prepare_snapshot.R
prepare_snapshot.RdCopies the Makefile for snapshot management to the specified directory and provides instructions for creating and managing OpenAlex snapshots.
Details
This function sets up a directory for managing OpenAlex snapshots by:
Copying a Makefile with targets for downloading and converting snapshots
Copying documentation about the snapshot process
The Makefile provides the following targets:
- help
Show available make targets
- snapshot
Download/sync OpenAlex snapshot from S3
- parquet
Convert snapshot to parquet format
- parquet_index
Build ID indexes for fast lookups
- clean
Remove generated directories