Adds a product reference to one or more project references

add_ref_to_projects(reference_id, project_id, dev = TRUE)

Arguments

reference_id

String (or Integer). The seven-digit DataStore reference ID of the product to be added to one or more Project References on DataStore. For instance this could be a Data Package, Web Site, etc.

project_id

Integer, String, or Vector. One or more DataStore Project Reference IDs to which the Product reference will be added.

dev

Logical. Whether or not the actions will occur on the development server. Defaults to TRUE.

Value

NULL (invisibly)

Examples

if (FALSE) { # \dontrun{
add_ref_to_projects(reference_id = 1234567, project_id = 7654321)
add_ref_to_projects(reference_id = 1234567, project_id = c(7654321,
                                                           9876543))} # }