You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-operations-manual/How-To-Guides/Adding/Add-an-endpoint.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,49 @@ title: Add an endpoint
132
132
1. **Run action workflow (optional)**
133
133
Optionally, if you don’t want to wait until the next day, you can manually execute the workflow that usually runs overnight yourself in order to be able to check if the data is actually on the platform. Simply follow the instructions in the [guide for triggering a collection manually](/data-operations-manual/How-To-Guides/Maintaining/Trigger-collection-manually).
134
134
135
+
136
+
## Add Alternate source data
137
+
138
+
### Infrastructure funding statement
139
+
An example scenario is the addition of the Infrastructure funding statement dataset where the endpoint is provided as a .pdf file. In this instance we need to navigate to the `data` **directory** within the `INFRASTRUCTURE-FUNDING-STATEMENT-COLLECTION` **repository** using an editor such as github or Visual studio code.
140
+
141
+
Within this directory the file [infrastructure-funding.statement.csv](https://github.com/digital-land/infrastructure-funding-statement-collection/blob/main/data/infrastructure-funding-statement.csv) which is ordered by LPA needs to be edited by adding an entry to this list so that it becomes available to processed as an alternative data source.
142
+
143
+
144
+
145
+
To do this quickly an existing entry can be copied and the appropaite fields updated accordingly
Once this is done save this file and commit it along with an associated pull request (PR) before being merged into the main branch
152
+
153
+
154
+
The next file to be updated is the [lookup.csv](https://github.com/digital-land/config/blob/main/pipeline/infrastructure-funding-statement/lookup.csv) in the `CONFIG` **repository**.
155
+
To do this quickly an existing entry can be copied and the appropaite fields updated accordingly
N.B Ensure the value for "reference" field in incremented to the latedt value in the sequence.
162
+
163
+
164
+
Once this is done save this file.
165
+
166
+
The next file to be updated is the [entity-organisation.csv](https://github.com/digital-land/config/blob/main/pipeline/infrastructure-funding-statement/entity-organisation.csv) in the `CONFIG` **repository**.
167
+
To do this quickly an existing entry can be copied and the appropaite fields updated accordingly
When an LPA requests an update to the documentation URL for an existing and active endpoint on our platform, attempting to add the endpoint again from the start will result in an "Duplicate endpoint" error.
192
235
193
-
Instead, update the source.csv file directly by locating the existing entry for that endpoint and modifying the documentation-url field with the new value provided by the LPA. Once updated, commit the changes.
236
+
Instead, update the source.csv file directly by locating the existing entry for that endpoint and modifying the documentation-url field with the new value provided by the LPA. Once updated, commit the changes.
0 commit comments