View source: R/report_functions.R
progress_of | R Documentation |
progress_of
queries the UWIN database for a selected study area.
progress_of(studyArea = NULL, db = uwidb)
studyArea |
The four letter capitalized study area abbreviation for a
city. If left as |
db |
The MySQL connection to the UWIN database. Defaults to 'uwidb' |
a list with the following elements:
- assignedIncomplete
(data.frame): This is a report on photo groups
that have been assigned but have yet to be finished.
The columns in assingedIncomplete
are:
User: The name of the person who has photo groups to classify.
email: The users email.
yearMonth: The year and month of visits in the database that have photos.r
countAssignedIncomplete: The number of photo groups assigned to a user per yearMonth that have not been completed.
- fullComplete
(data.frame): This is a progress report on the images that have been
classified as 'complete' in the cloud database, which depends on how many
users are necessary to consider an image 'complete' (either one or two,
depending on a study area). The columns in fullComplete
are:
yearMonth: The year and month of visits in the database that have photos.
percentComplete: The percent of images in a yearMonth that are considered 100
TotalPhotos: The number of photos tied to a yearMonth.
NotAssigned: Photos in a yearMonth that have not been assigned to a user to tag.
ToValidate: The number of photos that need to go through Validation per yearMonth. The Valdidation is on the UWIN cloud db.
- pendingComplete
(data.frame): This is a progress report on the images that have
been tagged by at least one user on the cloud db, which could be used
to generate an occupancy query (assuming that 1 viewer is okay).
The columns in pendingComplete
are:
yearMonth: The year and month of visits in the database that have photos.
percentComplete: The percent of images in a yearMonth that have been tagged at least once.
TotalPhotos: The number of photos tied to a yearMonth.
NotAssigned: Photos in a yearMonth that have not been assigned to a user to tag.
## Not run:
my_images <- progress_of("CHIL")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.