forked from woodwards/pasture_potential
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c3b1d8
commit b062f31
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Pasture Potential Tool | ||
Simon Woodward, Mark Neal, DairyNZ Ltd, 2018-2020 | ||
|
||
HOW TO UPDATE THE DAIRYBASE DATA: | ||
1. open the update_data R project, which is in an adjacent directory to the pasture_potential R project | ||
2. save your new DairyBase data file as dairybasesomething.csv in the update_data directory (remove empty rows and columns) | ||
3. in the script read_dairybase.r add the new data file to the code (non trivial) | ||
4. source read_dairybase.r to create the dairybase.rds file | ||
5. save a copy of read_dairybase.r as read_dairybase_YYYYMMDD.r using today's date | ||
6. source join_databases.r to create the joined.rds and joined_small.rds files (this takes a long time) | ||
7. there is a report in join_databases_report.txt | ||
8. copy the joined_small.rds file to Dropbox (currently C:\Users\WoodwardS\Dropbox\pasture_potential_data_files) | ||
|
||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters