library(nabatr) # Enter your NABat username here username = 'NABat_Username' token = get_nabat_gql_token(username) token # Note: if you leave run token = get_nabat_gql_token(), # it will prompt you for a username and then a password
# Refresh token token = get_refresh_token(token) # Get your projects lookup table project_df = get_projects(token) # Display your projects lookup table project_df
# Refresh token token = get_refresh_token(token) # Fill in project id using the project_df lookup table project_id = 000 # Set equal to one of your project ids # Get survey dataframe cc_survey_df = get_cc_project_summary(token, project_df, project_id) # Display survey dataframe cc_survey_df
# Refresh token token = get_refresh_token(token) # Get Colony Count bulk dataframe cc_bulk_df = get_colony_bulk_counts(token, cc_survey_df, project_id) # Display Colony Count dataframe cc_bulk_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.