Skip to content

This repository is for Nature Forward to convert their Salesforce data into usable data for ArcGis.

Notifications You must be signed in to change notification settings

LimnoTech/NatureForward-MapData

Repository files navigation

NatureForward-MapData

This repository is for Nature Forward to convert their Salesforce data into usable data for ArcGis.

Old Map: https://natureforward.my.salesforce-sites.com/enterWQMSession/displaymapmostrecentwqm

Note: Do NOT save the notebooks after running. If this pop-up displays after running a notebook, click LEAVE.

After running a notebook, you can check the Modified column on the ArcGIS Online Content page, to see if the notebooks updated to today's date.
alt text



Quick Links:
Updating Sites Feature Layer
Updating Critters Table
Updating IBI Scores Table

1. Updating Sites FeatureLayer

This report only needs to be run when a new site is added or site details are changed (coordinates, name, etc).

1.1 Download LimnoTech Sites Report

Navigate to the Reports tab on Salesforce. Under the LimnoTech folder there is a report titled LimnoTech Sites.

Click Run Report and then click Export Details.
alt text

Change to the following export settings and then click Export.

  • Export File Encoding = Unicode (UTF-8)
  • Export File Format = Comma Delimited .csv

alt text

Your file will then download to your browser. The file name will be similar to report1719589800854.csv, but with different numbers.

1.2 Run the ArcGIS Online Jupyter Notebook

Under the Notebook tab in ArcGIS online, open the Update Sites FeatureLayer notebook.

alt text

Click on cell with code (Cell 2) and then click Run. While the cell is running, it will have this symbol In [*], once finished it will change to In [1].
alt text

Scroll to the bottom of the notebook and click the Upload button. Upload the report you downloaded in Step 1, then click Update Layer.
alt text

A progress bar will appear and update while the code is running. The layer is successfully updated when the progress bar reaches 100% and Sites layer updated is displayed.
alt text

2. Updating Critters Table

This notebook should be run every time a map refresh occurs along with the IBI Scores Notebook.

2.1 Download LimnoTech Session/Critter Report

Navigate to the Reports tab on Salesforce. Under the LimnoTech folder there is a report titled LimnoTech Session/Critter.

In the Time Frame box, change the From date to 3 years prior (ex: 1/1/2022 -> 1/1/2019). This change will capture the last 5 years of critter data.
alt text

Click Run Report and then click Export Details.
alt text

Change to the following export settings and then click Export.

  • Export File Encoding = Unicode (UTF-8)
  • Export File Format = Comma Delimited .csv

alt text

Your file will then download to your browser. The file name will be similar to report1719589800854.csv, but with different numbers.

2.2 Run the ArcGIS Online Jupyter Notebook

Under the Notebook tab in ArcGIS online, open the Update Critters Table notebook.

alt text

Click on the cell with code (Cell 2) and then click Run. While the cell is running, it will have this symbol In [*], once finished it will change to In [1].
alt text

Scroll to the bottom of the notebook and click the Upload button. Upload the report you downloaded in Step 1, then click Update Table.
alt text

A progress bar will appear and update while the code is running. The layer is successfully updated when the progress bar reaches 100% and Critters table updated is displayed.
alt text

3. Updating IBI Scores Table

This notebook should be run every time a map refresh occurs along with the Critters Notebook.

3.1. Download LimnoTech IBI Over Time Report

Navigate back to the Reports tab on Salesforce. Under the LimnoTech folder there is a report titled LimnoTech IBI Over Time.

Click Run Report and then click Export Details.
alt text

Change to the following export settings and then click Export.

  • Export File Encoding = Unicode (UTF-8)
  • Export File Format = Comma Delimited .csv

alt text

Your file will then download to your browser. The file name will be similar to report1719589800854.csv, but with different numbers.

3.2 Run the ArcGIS Online Jupyter Notebook

Under the Notebook tab in ArcGIS online, open the Update IBI Scores Table notebook.

alt text

Click on the cell with code (Cell 2) and then click Run. While the cell is running, it will have this symbol In [*], once finished it will change to In [1].
alt text

Scroll to the bottom of the notebook and click the Upload button. Upload the report you downloaded in Step 1, then click Update Table.
alt text

A progress bar will appear and update while the code is running. The layer is successfully updated when the progress bar reaches 100% and IBI Scores table updated is displayed.
alt text

About

This repository is for Nature Forward to convert their Salesforce data into usable data for ArcGis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published