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 ee_survey_df = get_ee_project_summary(token, project_id) # Display survey dataframe ee_survey_df
# Refresh token token = get_refresh_token(token) # Get Emergence Count bulk dataframe ee_bulk_df = get_emergence_bulk_counts(token, ee_survey_df, project_id) # Display Emergence Count dataframe ee_bulk_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.