{"action":"opened","issue":{"url":"https://api.github.com/repos/Huh/collar/issues/1","repository_url":"https://api.github.com/repos/Huh/collar","labels_url":"https://api.github.com/repos/Huh/collar/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Huh/collar/issues/1/comments","events_url":"https://api.github.com/repos/Huh/collar/issues/1/events","html_url":"https://github.com/Huh/collar/issues/1","id":367990810,"node_id":"MDU6SXNzdWUzNjc5OTA4MTA=","number":1,"title":"Create function to read csv's","user":{"login":"Huh","id":483064,"node_id":"MDQ6VXNlcjQ4MzA2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/483064?v=4","gravatar_id":"","url":"https://api.github.com/users/Huh","html_url":"https://github.com/Huh","followers_url":"https://api.github.com/users/Huh/followers","following_url":"https://api.github.com/users/Huh/following{/other_user}","gists_url":"https://api.github.com/users/Huh/gists{/gist_id}","starred_url":"https://api.github.com/users/Huh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huh/subscriptions","organizations_url":"https://api.github.com/users/Huh/orgs","repos_url":"https://api.github.com/users/Huh/repos","events_url":"https://api.github.com/users/Huh/events{/privacy}","received_events_url":"https://api.github.com/users/Huh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T23:48:07Z","updated_at":"2018-10-08T23:48:07Z","closed_at":null,"author_association":"OWNER","body":"As it says...\r\n\r\nThe function should read a single or multiple csv's and return a tibble.  The function should not care about column names, manufacturer or other details.  The function should be documented, tested and easy to read with a single purpose.\r\n\r\nA proposed structure was\r\n```R\r\ncllr_fetch_csv <- function(file_path, skip, aux_columns, ...){\r\n  readr::read_csv(file_path, skip = skip, ...) %>%\r\n    dplyr::select(collar_id, date_time, x, y, aux_columns)\r\n}\r\n```\r\n\r\nOther features might include adding header information to output, guessing at the skipping of rows, etc."}}
{"actor":{"display_login":"Huh"}}