Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mode names returned are incorrect #15

Closed
Robinlovelace opened this issue Mar 9, 2019 · 2 comments
Closed

Mode names returned are incorrect #15

Robinlovelace opened this issue Mar 9, 2019 · 2 comments

Comments

@Robinlovelace
Copy link
Member

No description provided.

@Robinlovelace
Copy link
Member Author

Currently I get:

desire_sheffield = get_desire_lines("sheffield", n = 20)
trying URL 'https://s3-eu-west-1.amazonaws.com/statistics.digitalresources.jisc.ac.uk/dkan/files/FLOW/wu03ew_v2/wu03ew_v2.zip'
Content type 'application/zip' length 12409884 bytes (11.8 MB)
==================================================
downloaded 11.8 MB

Parsed with column specification:
cols(
  `Area of residence` = col_character(),
  `Area of workplace` = col_character(),
  `All categories: Method of travel to work` = col_double(),
  `Work mainly at or from home` = col_double(),
  `Underground, metro, light rail, tram` = col_double(),
  Train = col_double(),
  `Bus, minibus or coach` = col_double(),
  Taxi = col_double(),
  `Motorcycle, scooter or moped` = col_double(),
  `Driving a car or van` = col_double(),
  `Passenger in a car or van` = col_double(),
  Bicycle = col_double(),
  `On foot` = col_double(),
  `Other method of travel to work` = col_double()
)
|=======================================================================================| 100%  103 MB
Parsed with column specification:
cols(
  X = col_double(),
  Y = col_double(),
  objectid = col_double(),
  msoa11cd = col_character(),
  msoa11nm = col_character()
)
Parsed with column specification:
cols(
  X = col_double(),
  Y = col_double(),
  objectid = col_double(),
  msoa11cd = col_character(),
  msoa11nm = col_character()
)
> desire_sheffield
Simple feature collection with 20 features and 16 fields
geometry type:  LINESTRING
dimension:      XY
bbox:           xmin: -1.599568 ymin: 53.34726 xmax: -1.39669 ymax: 53.47986
epsg (SRID):    4326
proj4string:    +proj=longlat +datum=WGS84 +no_defs
First 10 features:
   geo_code1 geo_code2 all from_home bicycle foot car_driver car_passenger train light_rail bus taxi
1  E02001613 E02001614 489         0       1    1         94             0     2        273  36    7
2  E02001634 E02001640 483         0      17    0         95             1     1         99  35   19
3  E02001624 E02001632 473         0      15    3         47             3     4        292  42    7
4  E02001624 E02001628 465         0       8    0         38             2     3        225  43    7
5  E02001652 E02006843 411         0       1    5         66             0     4         56   2   16
6  E02001660 E02006843 401         0       2    2        130             1     1        105  14   37
7  E02001634 E02006843 386         0      29    1        113             0     3        119  15   20
8  E02001622 E02001627 384         0       1    0         81             0     3        187  32    5
9  E02001639 E02001640 374         0       1    0         50             4     0         62  11    8
10 E02006868 E02006843 370         0      16    1        129             1     0         77   9   11
   motorbike other     geo_name1     geo_name2                       geometry
1         74     1 Sheffield 003 Sheffield 004 LINESTRING (-1.491037 53.47...
2        216     0 Sheffield 024 Sheffield 030 LINESTRING (-1.502796 53.39...
3         59     1 Sheffield 014 Sheffield 022 LINESTRING (-1.426467 53.41...
4        138     1 Sheffield 014 Sheffield 018 LINESTRING (-1.426467 53.41...
5        260     1 Sheffield 042 Sheffield 073 LINESTRING (-1.472207 53.36...
6        107     2 Sheffield 050 Sheffield 073 LINESTRING (-1.487981 53.35...
7         86     0 Sheffield 024 Sheffield 073 LINESTRING (-1.502796 53.39...
8         75     0 Sheffield 012 Sheffield 017 LINESTRING (-1.490116 53.41...
9        238     0 Sheffield 029 Sheffield 030 LINESTRING (-1.510365 53.38...
10       126     0 Sheffield 075 Sheffield 073 LINESTRING (-1.446929 53.37...

@Robinlovelace
Copy link
Member Author

There are more light rail users than car drivers in Sheffield apparently!

@layik layik closed this as completed in 5ed6e95 Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant