Giter VIP home page Giter VIP logo

into-cartodb's People

Contributors

calvinmetcalf avatar dependabot[bot] avatar jasonsanford avatar marcbachmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

into-cartodb's Issues

Cannot create a table with a csv

Using the following command and csv a table was created, but the records were not loaded:

Command

node ./bin.js -c -f ./test.csv -t test3 -u <user> -k <key>

test.csv file contents

"abc","def","ghi"
1,2,"a"
3,4,"b"
5,6,"c"

Once the table was created I could use the replace mode to push the records in.

config file

It would be helpful if I could add a config file to this process that contains my user/key variables.

Filenames with dashes produce unquoted table names

...which leads to 400s from the CartoDB API.

e.g.:

into-cartodb -k <redacted> -u <redacted> -f whatever-2m.csv

whatever-2m is treated as the table name, but it's not being quoted somewhere.

Unhandled rejection Error: {"error":["syntax error at or near \"-\""]}
    at PassThrough.<anonymous> (/private/tmp/cartodb/node_modules/into-cartodb/node_modules/cartodb-tools/lib/index.js:205:27)
    at emitNone (events.js:72:20)
    at PassThrough.emit (events.js:166:7)
    at finishMaybe (/private/tmp/cartodb/node_modules/into-cartodb/node_modules/readable-stream/lib/_stream_writable.js:509:14)
    at afterWrite (/private/tmp/cartodb/node_modules/into-cartodb/node_modules/readable-stream/lib/_stream_writable.js:388:3)
    at afterTick (/private/tmp/cartodb/node_modules/into-cartodb/node_modules/readable-stream/node_modules/process-nextick-args/index.js:11:8)
    at doNTCallback0 (node.js:417:9)
    at process._tickCallback (node.js:346:13)

Issue using the uploader against a local carto instance

I have setup a local CartoDB instance and have managed to get everything running. I am able to import datasets via the front end application.

I am now trying to do bulk uploads (testing with a csv file first) to import data from a .csv file into Carto.

I am receiving a '302 Found' error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.