Skip to content

Infer doesn't lowercase resource names #118

@pripley123

Description

@pripley123

Overview

According to https://specs.frictionlessdata.io/data-resource/#metadata-properties it appears that resource name must be lowercase. When using the infer command it appears that the inspected value only removes the extension and does not lowercase the resource name (inspection.name = pathModule.basename(path[0], .${inspection.format}) (line 579 in src/resource.js). Hence MyFile.csv would have an inferred resource name of MyFile as opposed to myfile which produces invalid package error if you commit to it. Wondering if there's a reason no lower casing is occurring?


Please preserve this line to notify @aivuk (lead of this repository)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions