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

mystery quotes in guadaljara station names #68

Open
mpadge opened this issue Apr 18, 2018 · 0 comments
Open

mystery quotes in guadaljara station names #68

mpadge opened this issue Apr 18, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@mpadge
Copy link
Member

mpadge commented Apr 18, 2018

store_bikedata (data_dir = "/guadalajara/data/dir", bikedb = bikedb)
bike_stations (bikedb)
# A tibble: 243 x 6
      id city  stn_id name                                   longitude latitude
   <int> <chr> <chr>  <chr>                                      <dbl>    <dbl>
 1     1 gu    gu2    (GDL-001) C. Epigmenio Glez./ Av. 16 …     -103.     20.7
 2     2 gu    gu3    "(GDL-002) C. Colonias  / Av.  Ni\xf1…     -103.     20.7
 3     3 gu    gu4    (GDL-003) C. Vidrio / Av. Chapultepec      -103.     20.7
 4     4 gu    gu5    (GDL-004) C. Ghilardi /C. Miraflores       -103.     20.7
 5     5 gu    gu6    (GDL-005) C. San Diego /Calzada Indep…     -103.     20.7
 6     6 gu    gu8    (GDL-006) C. Venustiano Carranza /C. …     -103.     20.7
 7     7 gu    gu9    (GDL-007)C. Epigmenio Glez./Av. Crist…     -103.     20.7
 8     8 gu    gu10   "(GDL-008) C. J. Angulo / C. Gonz\xe1…     -103.     20.7
 9     9 gu    gu11   (GDL-009) Calz. Federalismo/ C. J. An…     -103.     20.7
10    10 gu    gu12   (GDL-010) C. Cruz verde / C. Joaquin …     -103.     20.7
# ... with 233 more rows

Those quotes on the 2nd and 8th entries are there on the original data, even through they are removed in bike_get_gu_stations(). I also tried removing them in src/read-station-files, as well as inspecting the strings that are passed to the SQL storage. All are clean of these "quotes", yet they re-appear in the final stored version. This suggests they're not quotes at all, but some other, perhaps non-UTF-8, character. How to get rid of them?

@mpadge mpadge added the bug Something isn't working label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant