| ProjectMember | R Documentation |
ProjectMember class representing a CorrelAid Project Member
ProjectMember class representing a CorrelAid Project Member
project_idcharacter. id of the project in the form YYYY-mm-ABB.
volunteer_idcharacter. id of the volunteer.
team_idcharacter. id of the team. Defaults to 1.
start_active_ymcharacter. start_active_ym when the project member became active
end_active_ymcharacter. end_active_ym when the project member became active
behaviour_flagboolean. whether or not there was noteworthy behaviour of the volunteer
behaviour_descriptioncharacter. description of the behaviour.
is_publicboolean. should the member be included in the project description on the website.
role_idinteger. id of the role of the project member.
roleinteger. role of the project member. create a volunteer
new()ProjectMember$new( project_id, volunteer_id, role, start_active_ym = NA_character_, end_active_ym = NA_character_, behaviour_flag = FALSE, behaviour_description = NA_character_, is_public = FALSE )
project_idcharacter. ID of the project.
volunteer_idinteger. ID of the volunteer
rolecharacter. name of the project role the team member assumes. Check projectutils::roles for available options.
start_active_ymcharacter. YYYY-mm when the team member became active in the team. defaults to NA
end_active_ymcharacter. YYYY-mm when the team member stopped being active in the team. defaults to NA
behaviour_flagboolean. whether the team member exhibited any noteworthy behaviour. defaults to FALSE
behaviour_descriptioncharacter. description of the behaviour. defaults to NA
is_publicboolean. whether or not the team member should be included on the public profile of the project on the CorrelAid website. defaults to FALSE. to_tibble
to_tibble()returns a one row tibble representation of the Volunteer object. set_role
ProjectMember$to_tibble()
set_role()ProjectMember$set_role(role)
rolecharacter. role of the volunteer. see projectutils::roles for available options. set_behaviour
set_behaviour()ProjectMember$set_behaviour(flag, description = NA)
flagboolean. value of the flag for offending behaviour.
descriptioncharacter. description of the offending behaviour. Defaults to NA_character_ , needs to be specified if setting the flag to TRUE. get_sql_tables
get_sql_tables()a list function that returns tibble for each table
ProjectMember$get_sql_tables()
clone()The objects of this class are cloneable with this method.
ProjectMember$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.