add_paddocks | R Documentation |
This function adds individual or groups of paddocks to the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.
add_paddocks(
property,
paddockname = NULL,
filedir = NULL,
filename = NULL,
filetype,
coords = NULL,
username = NULL,
password = NULL
)
property |
the name of the property to add the paddocks |
paddockname |
the name of the paddock/s, if NULL the paddock will be assigned a numeric name, if "filename" the name of the file will be assigned |
filedir |
the location of the spatial file containing the paddock coordinates |
filename |
the name of the spatial file, if NULL all spatial files in the directory will be read and added as paddocks |
filetype |
the type of spatial file (e.g. shp, kmz, coords), if inputting raw coordinates they must be listed in pairs with long first then lat, if in decimal degrees minutes they must be in the format "35d9'58.12\"S" "66d40'42.74\"W" |
coords |
the coordinates of the paddock, if inputting raw coordinates they must be listed in pairs with long first then lat, if in decimal degrees minutes they must be in the format "35d9'58.12\"S" "66d40'42.74\"W" |
username |
if you don't have a username set up using the dmaccess function you can pass a username, if no value added then the function looks for a value from dmaccess via keyring |
password |
if you include a username you will also need to add a password contact Lauren O'Connor if you don't have access |
a message that indicates that the paddock/s have been successfully added
Dave Swain d.swain@cqu.edu.au and Lauren O'Connor l.r.oconnor@cqu.edu.au
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.