Skip to content

Commit 7a904ef

Browse files
committed
chore: clarify that its manually expensive to compile some DCAT3 properties
1 parent 6a6623d commit 7a904ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type, is_ascii, sum, min/max, range, sort_order, sortiness, min_length, max_leng
3838
* `LAT_FIELD` and `LON_FIELD` - the inferred lat/long columns
3939
* `NO_LAT_LONG_FIELDS` (bool)
4040

41-
Beyond the extensive list of built-in Jinja2 [filters](https://jinja.palletsprojects.com/en/stable/templates/#list-of-builtin-filters)/[functions](https://jinja.palletsprojects.com/en/stable/templates/#list-of-global-functions), DP+ also supports an extensive list of additional [custom filters/functions](https://github.com/dathere/datapusher-plus/blob/607e7c5e5d75c5dc7ac55d684522c7972bc33d1d/ckanext/datapusher_plus/jinja2_helpers.py#L171). Several of these helper functions make it trivially easy to calculate [DCAT 3](https://doi-do.github.io/dcat-us/) recommended, optional properties that would ordinarily be too expensive to compile (e.g `dcat-us:GeographicBoundingBox`, `dcat:temporalResolution`, `dcat:startDate`, `dcat:endDate`, etc. ).
41+
Beyond the extensive list of built-in Jinja2 [filters](https://jinja.palletsprojects.com/en/stable/templates/#list-of-builtin-filters)/[functions](https://jinja.palletsprojects.com/en/stable/templates/#list-of-global-functions), DP+ also supports an extensive list of additional [custom filters/functions](https://github.com/dathere/datapusher-plus/blob/607e7c5e5d75c5dc7ac55d684522c7972bc33d1d/ckanext/datapusher_plus/jinja2_helpers.py#L171). Several of these helper functions make it trivially easy to calculate [DCAT 3](https://doi-do.github.io/dcat-us/) recommended, optional properties that would ordinarily be too painstaking to manually compile (e.g `dcat-us:GeographicBoundingBox`, `dcat:temporalResolution`, `dcat:startDate`, `dcat:endDate`, etc. ).
4242

4343
There are two Formula types that are indicated by adding these keywords to the scheming yaml file:
4444
* `formula` - the formula will be evaluated at resource creation/update time and the result is assigned to the corresponding package/resource field immediately.

0 commit comments

Comments
 (0)