Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • dataRetrieval dataRetrieval
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Maintenance scheduled for Thursday, March 23rd at 15:00 MST. Expected downtime <1 hour.

  • Water
  • dataRetrievaldataRetrieval
  • Issues
  • #299
Closed
Open
Issue created Jan 13, 2017 by Read, Jordan S.@jread

handle column names that aren't valid?

nwis_data <- readNWISuv(siteNumbers = "01389005", 
        parameterCd = "00300", startDate = "2006-09-30T23:00Z", 
        endDate = "2017-01-01T00:00Z")
names(nwis_data)
 [1] "agency_cd"                            "site_no"                             
 [3] "dateTime"                             "X_,from.right.intake_00300_00000"    
 [5] "X_,from.right.intake_00300_00000_cd"  "X_,from.middle.intake_00300_00000"   
 [7] "X_,from.middle.intake_00300_00000_cd" "X_,from.left.intake_00300_00000"     
 [9] "X_,from.left.intake_00300_00000_cd"   "tz_cd" 

and the , breaks a lot of parsers in R, for example dplyr::select

perhaps a make.names call on the headers?

make.names("X_,from.left.intake_00300_00000")
[1] "X_.from.left.intake_00300_00000"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking