-
Notifications
You must be signed in to change notification settings - Fork 289
Description
It would be nice to develop a simple workflow for using github / pkgdown hosted pins instead of standard R data files in a package, and have it working with minimal disruption to existing packages with data in them.
I'm thinking a 'use_data_raw' equivalent that sets up a pin_board and a 'use_pin' that adds data to the board, updating metadata etc, and adds in a package onLoad function that does a delayedAssign to the current variable name, that downloads and caches the pin from github when deployed or pulls it from local file location in development.
It would need to know where the github pages are being hosted, but there are sensible defaults that would work in 99% of time.
Happy to work something up as a pull request if there is support for it.