Description Usage Arguments Value See Also Examples
Adds a newly created instance to the database. This does mean launching a server (see aws_launch_instance()
).
1 | add_instance(connection, name, instance_owner, description = "")
|
connection |
A connection object, as retrieved from |
name |
Character string identifying the instance. |
instance_owner |
The email address of the ScrapeBot user who will be the owner of the new instance as character string. If this one does not exist, it will be created (in this case, a text will be raised). |
description |
Character string to describe the instance even further; default is an empty string. |
The uid
(integer) of the newly created instance or an integer NA
in case of error.
get_instances()
, aws_launch_instance()
1 2 3 4 5 6 7 | ## Not run:
connection <- connect('my_db on localhost')
add_instance(connection, 'local machine', 'mario@haim.it')
disconnect(connection)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.