CSV.Direct

RESTful CSV access.
Download Zipped Source Files
Browse Data
Industry Information

Standard Examples


http://csv.direct?/cew/data/api/2015/1/area/26000.csv

http://csv.direct?/cew/data/api/2015/1/industry/31-33.csv

http://csv.direct?/cew/data/api/2015/1/size/1.csv
NOTE: size for first quarter only...



"Short-Throw" Rapid-links


http://csv.direct?cew_area_{YEARQTR}_{FIPS}.csv
http://csv.direct?cew_area_20151_26000.csv


http://csv.direct?cew_ind_{YEARQTR}_{INDUSTRY_CODE}.csv
http://csv.direct?cew_ind_20151_336111.csv


http://csv.direct?cew_size_{YEARQTR}_{SIZE_CODE}.csv
http://csv.direct?cew_size_20151_1.csv
NOTE: size for first quarter only...

Multi-year span...
http://csv.direct?cew_span_{FIRST_YEARQTR}_{LAST_YEARQTR}_{FIPS}_{OWN}_{INDUSTRY_CODE}.csv
http://csv.direct?cew_span_20131_20151_26000_5_336111.csv

http://csv.direct?cew_span_2008a_2014a_26000_5_336111.csv

These files don't exist!

Yep, that's right, none of these files actually exist! There is a small server-side module that parses the file name, and generates the file. URLs behave like direct links to files.

So, there isn't a file called "cew_span_20131_20151_26163_5_336111.csv"

The server-side module consumes the file name, and figures out what should be inside.

And thats it.

There's no database either. Just a series of CSV proxy-slices that represent the data.


Credits

Spencer Jobe.