Pro: get all data objects at once, any new additions are automatically included
Con: need to remember check install date (with pacea_installed()) against latest NEWS and repo network plot, or just run install.packages() every time
Approach 2: Download the .rda files from the pacea/data folder, then load into R from there.
Status: haven't tried yet
Pro: always gets you the latest version of the data
Con: fully automating this may be tricky, given discussions here, here, here, and here)
Approach 3: Put in a request for csv files for the Annual and monthly indices, then just work from that.
Status: will do once the pacea entry of PSEC has evolved a bit more. For now these csv files are generated in PSEC using Approach 1 above. The csv outputs are in the PACEA folder
Pro: would expand the potential user base of a key part of pacea to people not familiar/comfortable with R.
Approach 1: Install package, then access data objects and create csv
Status: Works (this script)
Pro: get all data objects at once, any new additions are automatically included
Con: need to remember check install date (with
pacea_installed()
) against latest NEWS and repo network plot, or just runinstall.packages()
every timeApproach 2: Download the
.rda
files from the pacea/data folder, then load into R from there.Status: haven't tried yet
Pro: always gets you the latest version of the data
Con: fully automating this may be tricky, given discussions here, here, here, and here)
Approach 3: Put in a request for csv files for the Annual and monthly indices, then just work from that.
Status: will do once the pacea entry of PSEC has evolved a bit more. For now these csv files are generated in PSEC using Approach 1 above. The csv outputs are in the PACEA folder
Pro: would expand the potential user base of a key part of pacea to people not familiar/comfortable with R.