Created
January 13, 2017 11:12
-
-
Save rachellawson/0797218ed3e1be0c96bfb9b10703dd8b to your computer and use it in GitHub Desktop.
and another that includes a geolocation field - needed to work out how to get the data into the non-simple text field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uuid: xxx | |
langcode: en | |
status: true | |
dependencies: { } | |
_core: | |
default_config_hash: QgJp0h7W6HJQxNOodE0hlFp_epwmjzGKWCkBZic7e3s | |
id: csv_border_crossings | |
migration_tags: | |
- CSV | |
migration_group: null | |
label: 'CSV file to Border Crossings' | |
source: | |
plugin: csv | |
path: 'public://csv/crossings.csv' | |
header_row_count: 1 | |
keys: | |
- id | |
column_names: | |
- | |
id: Id | |
- | |
long: long | |
- | |
lat: lat | |
- | |
from: from | |
- | |
to: to | |
- | |
title: title | |
- | |
description: description | |
- | |
supplier: supplier | |
process: | |
type: | |
plugin: default_value | |
default_value: border_crossing | |
title: title | |
body: description | |
field_geolocation/lng: long | |
field_geolocation/lat: lat | |
field_country_exiting: from | |
field_country_entering: to | |
field_supplied_by: supplier | |
destination: | |
plugin: 'entity:node' | |
migration_dependencies: | |
required: { } | |
optional: { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment