
Last chance! 50% off unlimited learning
Sale ends in
Closes a connection with MicroStrategy REST API.
close(connection)# S4 method for connection
close(connection)
MicroStrategy REST API connection object returned by connect_mstr()
# NOT RUN {
# Connect to a MicroStrategy environment
con <- connect_mstr(base_url = "https://demo.microstrategy.com/MicroStrategyLibrary/api",
username = "user",
password = "password",
project_name = "Financial Reporting")
# A good practice is to disconnect once you're done
# However, the server will disconnect the session after some time has passed
close(con)
# }
Run the code above in your browser using DataLab