Skip to content

Commit 21cdca2

Browse files
committed
update image in v1 data vignette
1 parent 7212681 commit 21cdca2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vignettes/v1-2020-2021-mitma-data-codebook.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ All mobility data is referenced via `id_origin`, `id_destination`, or other loca
123123

124124
The origin-destination data contain the number of trips and distance travelled between `districts` or `municipalities` in Spain for every hour of every day between 2020-02-14 and 2021-05-09. Each flow also has attributes such as the trip purpose (composed of the type of activity (`home`/`work_or_study`/`other`) at both the origin and destination), province of residence of individuals making this trip, distance covered while making the trip. See the detailed attributes below in a table. @fig-flows-barcelona shows an example of total flows in the province of Barcelona on Feb 14th, 2020.
125125

126-
![Origin destination flows in Barcelona on 2020-02-14](media/flows_plot.svg){#fig-flows-barcelona width="70%"}
126+
![Origin destination flows in Barcelona on 2020-02-14](media/flows_plot_barcelona.svg){#fig-flows-barcelona width="70%"}
127127

128128
Here are the variables you can find in both the `district` and `municipality` level origin-destination data:
129129

@@ -174,7 +174,8 @@ od_mean_hourly_trips_over_the_4_days <- od_dist |>
174174
group_by(hour) |>
175175
summarise(
176176
mean_hourly_trips = mean(n_trips, na.rm = TRUE),
177-
.groups = "drop") |>
177+
.groups = "drop"
178+
) |>
178179
collect()
179180
od_mean_hourly_trips_over_the_4_days
180181
```

0 commit comments

Comments
 (0)